aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPaul LeoNerd Evans <leonerd@leonerd.org.uk>2008-11-06 19:33:07 +0000
committerPaul LeoNerd Evans <leonerd@leonerd.org.uk>2008-11-06 19:33:07 +0000
commit9df6f621b984b9a5dd3ae95df3d3ef94b6280de3 (patch)
tree4d3b459d5350dafcce8e17b0c58eece85244d876 /Makefile
parentc2496a38be3f06df6557b12803a9162c31811cef (diff)
downloadtermo-9df6f621b984b9a5dd3ae95df3d3ef94b6280de3.tar.gz
termo-9df6f621b984b9a5dd3ae95df3d3ef94b6280de3.tar.xz
termo-9df6f621b984b9a5dd3ae95df3d3ef94b6280de3.zip
Added asynchronous demo which uses poll()
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 84f2e13..8fcceef 100644
--- a/Makefile
+++ b/Makefile
@@ -15,11 +15,14 @@ ifeq ($(DEBUG),1)
CFLAGS_DEBUG=-ggdb -DDEBUG
endif
-all: demo
+all: demo demo-async
demo: libtermkey.so demo.c
$(CC) $(CFLAGS) $(CFLAGS_DEBUG) -o $@ $^
+demo-async: libtermkey.so demo-async.c
+ $(CC) $(CFLAGS) $(CFLAGS_DEBUG) -o $@ $^
+
libtermkey.so: termkey.o driver-csi.o driver-ti.o
$(LD) -shared -soname=$(SONAME) -o $@ $^ -lncurses