diff options
Diffstat (limited to 'iceprog/Makefile')
-rw-r--r-- | iceprog/Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/iceprog/Makefile b/iceprog/Makefile new file mode 100644 index 0000000..b0d735a --- /dev/null +++ b/iceprog/Makefile @@ -0,0 +1,22 @@ +# CC = clang +LDLIBS = -lftdi -lm +CFLAGS = -MD -O0 -ggdb -Wall -std=c99 + +all: iceprog + +iceprog: iceprog.o + +install: all + cp iceprog /usr/local/bin/iceprog + +uninstall: + rm -f /usr/local/bin/iceprog + +clean: + rm -f iceprog + rm -f *.o *.d + +-include *.d + +.PHONY: all install uninstall clean + |