add 'read1', a program that tests reading one byte at a time from a file.
[dragonfly.git] / test / caps / Makefile
1 # $DragonFly: src/test/caps/Makefile,v 1.7 2004/07/05 15:18:35 joerg Exp $
2 #
3
4 # thr{1,2,3} disabled (obsolete at the moment)
5 TARGETS= /tmp/caps_s /tmp/caps_c /tmp/caps_e /tmp/caps_d
6
7 CFLAGS= -O2 -g -DSMP
8 CFLAGS+=-I${.CURDIR}/../../lib -I${.CURDIR}/../../lib/libcaps/${MACHINE_ARCH}
9
10 all:    $(TARGETS)
11
12 #/tmp/caps1: caps1.c
13 #       $(CC) $(CFLAGS) caps1.c -lcaps -o /tmp/caps1
14
15 /tmp/thr1: thr1.c
16         $(CC) $(CFLAGS) thr1.c -lcaps -o /tmp/thr1
17
18 /tmp/thr2: thr2.c
19         $(CC) $(CFLAGS) thr2.c -lcaps -o /tmp/thr2
20
21 /tmp/thr3: thr3.c
22         $(CC) $(CFLAGS) thr3.c -lcaps -o /tmp/thr3
23
24 /tmp/caps_s: server.c
25         $(CC) $(CFLAGS) server.c -o /tmp/caps_s
26
27 /tmp/caps_c: client.c
28         $(CC) $(CFLAGS) client.c -o /tmp/caps_c
29
30 /tmp/caps_e: encoder.c
31         $(CC) $(CFLAGS) encoder.c -lcaps -o /tmp/caps_e
32
33 /tmp/caps_d: decoder.c
34         $(CC) $(CFLAGS) decoder.c -lcaps -o /tmp/caps_d
35
36 clean:
37         rm -f $(TARGETS)