blob: 13a1d81c5864d7a636401bdbe535e4a2341892be [file] [log] [blame]
include ../config.mk
ifeq ($(STATIC),1)
LDFLAGS += -static
endif
all: icepll$(EXE)
icepll$(EXE): icepll.o
$(CXX) -o $@ $(LDFLAGS) $^ $(LDLIBS)
install: all
mkdir -p $(DESTDIR)$(PREFIX)/bin
cp icepll$(EXE) $(DESTDIR)$(PREFIX)/bin/icepll$(EXE)
uninstall:
rm -f $(DESTDIR)$(PREFIX)/bin/icepll$(EXE)
clean:
rm -f icepll$(EXE)
rm -f icepll.exe
rm -f *.o *.d
-include *.d
.PHONY: all install uninstall clean