summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2007-10-30 07:05:38 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2007-10-30 07:05:38 +0000
commit3f22b98a76afeccbbb5e892d56c8c58ad3162ddb (patch)
tree3ad7ab3129ae485ff822c4c4702e601c3a5910c1
parentff77fc919bb4a2fe5f84b8f4bdb2cf38c91824ae (diff)
don't use intermediate target (a.out) in multiple targets
-rw-r--r--regress/usr.bin/pcc/ccom/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/usr.bin/pcc/ccom/Makefile b/regress/usr.bin/pcc/ccom/Makefile
index 22768fca4a6..2084258ac37 100644
--- a/regress/usr.bin/pcc/ccom/Makefile
+++ b/regress/usr.bin/pcc/ccom/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.2 2007/10/16 12:49:53 otto Exp $
+# $OpenBSD: Makefile,v 1.3 2007/10/30 07:05:37 otto Exp $
CC=/usr/local/bin/cc
@@ -13,7 +13,7 @@ REGRESS_TARGETS=\
.c:
@echo ${*}
- ${CC} ${.CURDIR}/${*}.c && ./a.out
+ ${CC} ${.CURDIR}/${*}.c -o ${*}.out && ${*}.out
shouldfail:
@echo ${*}
@@ -21,6 +21,6 @@ shouldfail:
if ${CC} ${.CURDIR}/init003.c; then false; else true; fi
clean:
- rm -f a.out
+ rm -f *.out
.include <bsd.regress.mk>