blob: 0ebf3d9148bc57c6efd36b692a669e98665faa2f (
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
|
# $OpenBSD: Makefile,v 1.5 2008/01/24 18:16:47 stefan Exp $
CC=/usr/local/bin/cc
REGRESS_TARGETS=\
arith001 \
const001 \
darray001 \
enum001 \
init001 init004 \
mustpass0000 mustpass0001 \
switch003 \
tmpalloc001 \
shouldfail
.c:
@echo ${*}
${CC} ${.CURDIR}/${*}.c -o ${*}.out && ${.CURDIR}/${*}.out
shouldfail:
@echo ${*}
if ${CC} ${.CURDIR}/init002.c; then false; else true; fi
if ${CC} ${.CURDIR}/init003.c; then false; else true; fi
if ${CC} ${.CURDIR}/switch001.c; then false; else true; fi
if ${CC} ${.CURDIR}/switch002.c; then false; else true; fi
if ${CC} ${.CURDIR}/mustfail0000.c; then false; else true; fi
clean:
rm -f *.out
.include <bsd.regress.mk>
|