aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2013-03-20 23:56:54 -0500
committerJesse Luehrs <doy@tozt.net>2013-03-20 23:56:54 -0500
commite2a09fb5c6d822cf46a28ca371a7c426994e31c8 (patch)
tree2e82db41e68deb27bc530ffb4b07e308bd18c88e /Makefile
parent26e26cc83e461b61559d8d538b82ef91aadad622 (diff)
downloadrust-term-e2a09fb5c6d822cf46a28ca371a7c426994e31c8.tar.gz
rust-term-e2a09fb5c6d822cf46a28ca371a7c426994e31c8.zip
fix makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 9d6f29b..434d288 100644
--- a/Makefile
+++ b/Makefile
@@ -6,15 +6,15 @@ TESTS = bin/termios bin/termios2 bin/termios3 bin/rl
all: build tests
-build: lib/built
+build: tmp/built
tests: $(TESTS)
-bin/%: test/%.rs
+bin/%: test/%.rs tmp/built
@mkdir -p bin
$(RUSTC) --out-dir bin -L lib $<
-lib/built: $(MAIN_SOURCE) $(OTHER_SOURCES) tmp/libtermios_wrapper.a tmp/libcurses_helper.a
+tmp/built: $(MAIN_SOURCE) $(OTHER_SOURCES) tmp/libtermios_wrapper.a tmp/libcurses_helper.a
@mkdir -p lib
$(RUSTC) --out-dir lib -L tmp $(MAIN_SOURCE) && touch tmp/built