summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>