aboutsummaryrefslogtreecommitdiff
path: root/lib/libncurses/TESTS/Makefile
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1994-10-07 08:58:58 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1994-10-07 08:58:58 +0000
commitc0e33523c8e3d21cb5380c0841957837c7394f3e (patch)
tree99abbe20269799a309141ce09de6537162005126 /lib/libncurses/TESTS/Makefile
parentd456d8f48d7d76f450ee5299193ba604a20d44de (diff)
Moved from ports with several enhancements
Notes
Notes: svn path=/cvs2svn/branches/zmbenhal/; revision=3410
Diffstat (limited to 'lib/libncurses/TESTS/Makefile')
-rw-r--r--lib/libncurses/TESTS/Makefile37
1 files changed, 37 insertions, 0 deletions
diff --git a/lib/libncurses/TESTS/Makefile b/lib/libncurses/TESTS/Makefile
new file mode 100644
index 000000000000..9b258df497a2
--- /dev/null
+++ b/lib/libncurses/TESTS/Makefile
@@ -0,0 +1,37 @@
+TESTS = test corner ensor getch ncurses bs gdc hanoi knight rain worm \
+ over scroll2 battle newdemo scroll3 xmas copy firework testcurs \
+ scroll
+
+CLEANFILES += $(TESTS)
+
+LIBS += -lncurses -lmytinfo
+
+all: $(TESTS)
+
+$(TESTS):
+ $(CC) $(CFLAGS) $(LDFLAGS) ${.CURDIR}/$@.c -o $@ $(LIBS)
+
+test: test.c
+corner: corner.c
+ensor: ensor.c
+getch: getch.c
+ncurses: ncurses.c
+bs: bs.c
+gdc: gdc.c
+hanoi: hanoi.c
+knight: knight.c
+rain: rain.c
+worm: worm.c
+over: over.c
+scroll2: scroll2.c
+battle: battle.c
+newdemo: newdemo.c
+scroll3: scroll3.c
+xmas: xmas.c
+copy: copy.c
+firework: firework.c
+testcurs: testcurs.c
+scroll: scroll.c
+
+.include "bsd.prog.mk"
+