diff options
author | Elvira Khabirova <lineprinter0@gmail.com> | 2017-02-12 02:50:15 +0300 |
---|---|---|
committer | Elvira Khabirova <lineprinter0@gmail.com> | 2017-02-12 16:13:03 +0300 |
commit | ea82010fbfe1e306bb3d7fbd29057c0dc5c77e48 (patch) | |
tree | 90342bc017b209e47c9cf63f36808e10365e2634 /icecompr | |
parent | 40eb5c03fdc1aaa493a40252e35de9b18f6db975 (diff) | |
download | icestorm-ea82010fbfe1e306bb3d7fbd29057c0dc5c77e48.tar.gz icestorm-ea82010fbfe1e306bb3d7fbd29057c0dc5c77e48.tar.bz2 icestorm-ea82010fbfe1e306bb3d7fbd29057c0dc5c77e48.zip |
Clean up 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 $< $@ |