From 9df6f621b984b9a5dd3ae95df3d3ef94b6280de3 Mon Sep 17 00:00:00 2001 From: Paul LeoNerd Evans Date: Thu, 6 Nov 2008 19:33:07 +0000 Subject: Added asynchronous demo which uses poll() --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') 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 -- cgit v1.2.3-70-g09d2