summaryrefslogtreecommitdiff
path: root/regress/usr.bin/pcc/ccom/Makefile
blob: 22768fca4a6ee30b55869ad7df0c9b3f3bea85c6 (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
# $OpenBSD: Makefile,v 1.2 2007/10/16 12:49:53 otto Exp $

CC=/usr/local/bin/cc

REGRESS_TARGETS=\
	arith001 \
	const001 \
	darray001 \
	enum001 \
	init001 init004 \
	tmpalloc001 \
	shouldfail

.c:
	@echo ${*}
	${CC} ${.CURDIR}/${*}.c && ./a.out

shouldfail:
	@echo ${*}
	if ${CC} ${.CURDIR}/init002.c; then false; else true; fi
	if ${CC} ${.CURDIR}/init003.c; then false; else true; fi
	
clean:
	rm -f a.out

.include <bsd.regress.mk>