diff options
author | Clifford Wolf <clifford@clifford.at> | 2015-07-18 21:22:44 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2015-07-18 21:22:44 +0200 |
commit | ae459d7ae14bbcb545b1dbcb6ecb4149b5a1f278 (patch) | |
tree | c1779d50f29bc628c05cd5493a1a2cf1ac63cb6e /icebox | |
parent | 3b079a6c5e986b96fe0b3113c8ecd4619f28feba (diff) | |
download | icestorm-ae459d7ae14bbcb545b1dbcb6ecb4149b5a1f278.tar.gz icestorm-ae459d7ae14bbcb545b1dbcb6ecb4149b5a1f278.tar.bz2 icestorm-ae459d7ae14bbcb545b1dbcb6ecb4149b5a1f278.zip |
Various Makefile cleanups
Diffstat (limited to 'icebox')
-rw-r--r-- | icebox/.gitignore | 4 | ||||
-rw-r--r-- | icebox/Makefile | 10 |
2 files changed, 11 insertions, 3 deletions
diff --git a/icebox/.gitignore b/icebox/.gitignore new file mode 100644 index 0000000..e9b16a4 --- /dev/null +++ b/icebox/.gitignore @@ -0,0 +1,4 @@ +chipdb-1k.txt +chipdb-8k.txt +icebox.pyc +iceboxdb.pyc 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 |