diff options
author | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2008-11-06 19:40:28 +0000 |
---|---|---|
committer | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2008-11-06 19:40:28 +0000 |
commit | 9aaf16888c9bd1ab63f0336f6becca87525118c6 (patch) | |
tree | dbcafad11051949f050d85e3229976565db13c0b /Makefile | |
parent | 9df6f621b984b9a5dd3ae95df3d3ef94b6280de3 (diff) | |
download | termo-9aaf16888c9bd1ab63f0336f6becca87525118c6.tar.gz termo-9aaf16888c9bd1ab63f0336f6becca87525118c6.tar.xz termo-9aaf16888c9bd1ab63f0336f6becca87525118c6.zip |
Include demo.c and demo-async.c in the manpages under an EXAMPLE section
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -15,7 +15,7 @@ ifeq ($(DEBUG),1) CFLAGS_DEBUG=-ggdb -DDEBUG endif -all: demo demo-async +all: demo demo-async doc demo: libtermkey.so demo.c $(CC) $(CFLAGS) $(CFLAGS_DEBUG) -o $@ $^ @@ -29,6 +29,11 @@ libtermkey.so: termkey.o driver-csi.o driver-ti.o %.o: %.c termkey.h termkey-internal.h $(CC) $(CFLAGS) $(CFLAGS_DEBUG) -Wall -std=c99 -fPIC -o $@ -c $< +doc: termkey_waitkey.3 termkey_getkey.3 + +%.3: %.3.sh + sh $< >$@ + .PHONY: clean clean: rm -f *.o demo |