diff options
author | Clifford Wolf <clifford@clifford.at> | 2017-02-13 14:39:44 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2017-02-13 14:39:44 +0100 |
commit | ce4e1bcfd8c791fe3fb6f991fbfaed309bc1f5ad (patch) | |
tree | 0c74941347a751cd2d9a71a7d9c3af0692343686 /icecompr | |
parent | 399830dda5009a00ea8a684bc89eb8aa12fbbb84 (diff) | |
parent | ea82010fbfe1e306bb3d7fbd29057c0dc5c77e48 (diff) | |
download | icestorm-ce4e1bcfd8c791fe3fb6f991fbfaed309bc1f5ad.tar.gz icestorm-ce4e1bcfd8c791fe3fb6f991fbfaed309bc1f5ad.tar.bz2 icestorm-ce4e1bcfd8c791fe3fb6f991fbfaed309bc1f5ad.zip |
Merge branch 'makefiles' of https://github.com/lineprinter/icestorm into lineprinter-makefiles
Diffstat (limited to 'icecompr')
-rw-r--r-- | icecompr/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/icecompr/Makefile b/icecompr/Makefile index b230ffa..1c443f0 100644 --- a/icecompr/Makefile +++ b/icecompr/Makefile @@ -1,13 +1,14 @@ +include ../config.mk all: icecompr iceuncompr test: example_1k.ok example_8k.ok -icecompr: icecompr.cc - clang++ -o icecompr -Wall -Wextra -std=c++11 icecompr.cc +icecompr: icecompr.o + $(CXX) -o $@ $(LDFLAGS) $^ $(LDLIBS) -iceuncompr: iceuncompr.c - clang -o iceuncompr -Wall -Wextra iceuncompr.c +iceuncompr: iceuncompr.o + $(CC) -o $@ $(LDFLAGS) $^ $(LDLIBS) %.compr: %.bin icecompr ./icecompr -v $< $@ |