From 7628b3c1c0dbf5143547183fd0f00cbf32dfdeb6 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sat, 13 Apr 2013 13:40:50 -0500 Subject: 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 --- Makefile | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'Makefile') 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 $@ $< -- cgit v1.2.3-54-g00ecf