diff options
author | 2007-10-30 07:05:37 +0000 | |
---|---|---|
committer | 2007-10-30 07:05:37 +0000 | |
commit | 12e927fe8853fb53edf3792d2e12e222f9074807 (patch) | |
tree | d16e7a715f1883415a1baf02414fb7033b22dc37 | |
parent | avoid intermediate files with same name (ie. a.out) for parallel make (diff) | |
download | wireguard-openbsd-12e927fe8853fb53edf3792d2e12e222f9074807.tar.xz wireguard-openbsd-12e927fe8853fb53edf3792d2e12e222f9074807.zip |
don't use intermediate target (a.out) in multiple targets
-rw-r--r-- | regress/usr.bin/pcc/ccom/Makefile | 6 |
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> |