aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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