summaryrefslogtreecommitdiffstats
path: root/lib/libncurses/TESTS/Makefile
blob: 64dc0e32465c41d9552ef8e47da810a5780dd247 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
TESTS = test corner ensor getch ncurses 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
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>

OpenPOWER on IntegriCloud