diff options
Diffstat (limited to 'icebox/Makefile')
-rw-r--r-- | icebox/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/icebox/Makefile b/icebox/Makefile index 000836a..7cfb5ce 100644 --- a/icebox/Makefile +++ b/icebox/Makefile @@ -1,5 +1,5 @@ -chipdb: chipdb-1k.txt chipdb-8k.txt +all: chipdb-1k.txt chipdb-8k.txt chipdb-1k.txt: icebox.py iceboxdb.py icebox_chipdb.py python icebox_chipdb.py > chipdb-1k.new @@ -9,7 +9,11 @@ chipdb-8k.txt: icebox.py iceboxdb.py icebox_chipdb.py python icebox_chipdb.py -8 > chipdb-8k.new mv chipdb-8k.new chipdb-8k.txt -install: chipdb +clean: + rm -f chipdb-1k.txt chipdb-8k.txt + rm -f icebox.pyc iceboxdb.pyc + +install: all mkdir -p /usr/local/share/icebox cp chipdb-1k.txt /usr/local/share/icebox/ cp chipdb-8k.txt /usr/local/share/icebox/ @@ -35,5 +39,5 @@ uninstall: rm -f /usr/local/share/icebox/chipdb-8k.txt -rmdir /usr/local/share/icebox -.PHONY: install uninstall +.PHONY: all clean install uninstall |