aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2013-04-13 13:40:50 -0500
committerJesse Luehrs <doy@tozt.net>2013-04-13 13:40:50 -0500
commit7628b3c1c0dbf5143547183fd0f00cbf32dfdeb6 (patch)
tree998e1382cd490b1cdbf5a9298732ffc6f3f50288 /Makefile
parentc881c744b38932d3d96a0fcec9deb81ca4d25fcb (diff)
downloadrust-term-7628b3c1c0dbf5143547183fd0f00cbf32dfdeb6.tar.gz
rust-term-7628b3c1c0dbf5143547183fd0f00cbf32dfdeb6.zip
use tparm instead of tiparm
osx comes with ncurses 5.4 (and homebrew only has 5.7?), but tiparm was a new function in 5.8
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 2 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index 1315c93..bf455f4 100644
--- a/Makefile
+++ b/Makefile
@@ -19,11 +19,11 @@ bin/%: test/%.rs tmp/built
@mkdir -p bin
$(RUSTC) --out-dir bin -L lib $<
-tmp/built: $(MAIN_SOURCE) $(OTHER_SOURCES) tmp/libtermios_wrapper.a tmp/libcurses_helper.a tmp/libio_helper.a
+tmp/built: $(MAIN_SOURCE) $(OTHER_SOURCES) tmp/libtermios_wrapper.a tmp/libio_helper.a
@mkdir -p lib
$(RUSTC) --out-dir lib -L tmp $(MAIN_SOURCE) && touch tmp/built
-clibs: tmp/libtermios_wrapper.a tmp/libcurses_helper.a tmp/libio_helper.a
+clibs: tmp/libtermios_wrapper.a tmp/libio_helper.a
tmp/libtermios_wrapper.a: tmp/termios_wrapper.o
ar cr $@ $<
@@ -32,13 +32,6 @@ tmp/termios_wrapper.o: src/termios_wrapper.c
@mkdir -p tmp
cc -fPIC -c -o $@ $<
-tmp/libcurses_helper.a: tmp/curses_helper.o
- ar cr $@ $<
-
-tmp/curses_helper.o: src/curses_helper.c
- @mkdir -p tmp
- cc -fPIC -c -o $@ $<
-
tmp/libio_helper.a: tmp/io_helper.o
ar cr $@ $<