diff options
Diffstat (limited to 'regress/usr.bin/pcc/cc/ccom/Makefile')
-rw-r--r-- | regress/usr.bin/pcc/cc/ccom/Makefile | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/regress/usr.bin/pcc/cc/ccom/Makefile b/regress/usr.bin/pcc/cc/ccom/Makefile index 1d59e202d87..b72dcea4fa6 100644 --- a/regress/usr.bin/pcc/cc/ccom/Makefile +++ b/regress/usr.bin/pcc/cc/ccom/Makefile @@ -1,3 +1,24 @@ -# $OpenBSD: Makefile,v 1.1 2007/10/05 16:49:37 otto Exp $ +# $OpenBSD: Makefile,v 1.2 2007/10/05 17:28:47 otto Exp $ -regress: +CC=/usr/local/bin/cc + +REGRESS_TARGETS=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> |