From 93618cc06c778bc3a041fff3896e1dcb920eafdc Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Sat, 29 May 1999 20:47:00 +0000 Subject: Add target for demo program --- lib/libcurses++/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3