summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1999-05-29 20:47:00 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1999-05-29 20:47:00 +0000
commit93618cc06c778bc3a041fff3896e1dcb920eafdc (patch)
tree9f1740fa819f776fcdfe79907bcbd2aa6d83df0f
parent650b6c5f213bf04b9cc687166d33ec5862221180 (diff)
Add target for demo program
-rw-r--r--lib/libcurses++/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libcurses++/Makefile b/lib/libcurses++/Makefile
index f7e28596934..d7dc50faa29 100644
--- a/lib/libcurses++/Makefile
+++ b/lib/libcurses++/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.3 1999/05/27 23:22:25 millert Exp $
+# $OpenBSD: Makefile,v 1.4 1999/05/29 20:46:59 millert Exp $
# Uncomment this to enable tracing in libcurses
#CURSESTRACE=-DTRACE
@@ -7,6 +7,7 @@ LIB= curses++
SRCS= cursesapp.cc cursesf.cc cursesm.cc cursesmain.cc cursesp.cc \
cursesw.cc cursslk.cc
HEADERS=cursesapp.h cursesf.h cursesm.h cursesp.h cursesw.h etip.h cursslk.h
+CLEANFILES+=demo
CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../libcurses ${CURSESTRACE}
@@ -19,4 +20,7 @@ includes:
${.CURDIR}/$$i ${DESTDIR}/usr/include/g++/$$i; \
done
+demo:
+ ${CXX} ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${.CURDIR}/demo.cc -lform -lmenu -lpanel -lcurses -lcurses++ ${LDADD}
+
.include <bsd.lib.mk>