diff options
author | Jesse Luehrs <doy@tozt.net> | 2013-04-01 02:06:35 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2013-04-01 02:06:35 -0500 |
commit | b7646b2d791cf10bd604aaee830fe22598b7d10d (patch) | |
tree | 9ba44d9aa729587e61b9b7c8671367d91fa8ef7e /Makefile | |
parent | 10255902df82b54afa68290cd7ce59cdcf2014fa (diff) | |
download | rust-term-b7646b2d791cf10bd604aaee830fe22598b7d10d.tar.gz rust-term-b7646b2d791cf10bd604aaee830fe22598b7d10d.zip |
provide a timeout for reads when trying to match an escape
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -19,7 +19,7 @@ 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/built: $(MAIN_SOURCE) $(OTHER_SOURCES) tmp/libtermios_wrapper.a tmp/libcurses_helper.a tmp/libio_helper.a @mkdir -p lib $(RUSTC) --out-dir lib -L tmp $(MAIN_SOURCE) && touch tmp/built @@ -37,6 +37,13 @@ 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 $@ $< + +tmp/io_helper.o: src/io_helper.c + @mkdir -p tmp + cc -fPIC -c -o $@ $< + clean: -@rm -rf lib/ bin/ tmp/ |