mirror of https://github.com/YosysHQ/icestorm.git
24 lines
345 B
Makefile
24 lines
345 B
Makefile
# CC = clang
|
|
LDLIBS = -L/usr/local/lib -lftdi -lm
|
|
CFLAGS = -MD -O0 -ggdb -Wall -std=c99 -I/usr/local/include
|
|
DESTDIR = /usr/local
|
|
|
|
all: iceprog
|
|
|
|
iceprog: iceprog.o
|
|
|
|
install: all
|
|
cp iceprog $(DESTDIR)/bin/iceprog
|
|
|
|
uninstall:
|
|
rm -f $(DESTDIR)/bin/iceprog
|
|
|
|
clean:
|
|
rm -f iceprog
|
|
rm -f *.o *.d
|
|
|
|
-include *.d
|
|
|
|
.PHONY: all install uninstall clean
|
|
|