summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-10-30 06:03:17 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-10-30 06:03:17 +0000
commitff77fc919bb4a2fe5f84b8f4bdb2cf38c91824ae (patch)
tree7b0dd4826bde7d0525026013a67df66898c221ea /lib
parent347898fa5965662f6b1a7636224c3d72a7a5590a (diff)
avoid intermediate files with same name (ie. a.out) for parallel make
ok miod
Diffstat (limited to 'lib')
-rw-r--r--lib/csu/vax/Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/csu/vax/Makefile b/lib/csu/vax/Makefile
index 9b788c04d7d..c55a6b84f3e 100644
--- a/lib/csu/vax/Makefile
+++ b/lib/csu/vax/Makefile
@@ -1,26 +1,26 @@
-# $OpenBSD: Makefile,v 1.5 2001/03/24 18:40:21 tholo Exp $
+# $OpenBSD: Makefile,v 1.6 2007/10/30 06:02:22 deraadt Exp $
# from: @(#)Makefile 5.6 (Berkeley) 5/22/91
CFLAGS+= -DLIBC_SCCS -I${.CURDIR}/..
OBJS= crt0.o gcrt0.o scrt0.o
-CLEANFILES+= core a.out
+CLEANFILES+= core crt0.out gcrt0.out scrt0.out
all: ${OBJS}
crt0.o: crt0.c
${COMPILE.c} -DCRT0 -UDYNAMIC ${.ALLSRC}
- ${LD} -x -r ${.TARGET}
- mv a.out ${.TARGET}
+ ${LD} -x -r ${.TARGET} -o ${.TARGET}ut
+ mv ${.TARGET}ut ${.TARGET}
gcrt0.o: crt0.c
${COMPILE.c} -DMCRT0 ${.ALLSRC} -o ${.TARGET}
- ${LD} -x -r ${.TARGET}
- mv a.out ${.TARGET}
+ ${LD} -x -r ${.TARGET} -o ${.TARGET}ut
+ mv ${.TARGET}ut ${.TARGET}
scrt0.o: crt0.c
${COMPILE.c} -DSCRT0 ${.ALLSRC} -o ${.TARGET}
- ${LD} -x -r ${.TARGET}
- mv a.out ${.TARGET}
+ ${LD} -x -r ${.TARGET} -o ${.TARGET}ut
+ mv ${.TARGET}ut ${.TARGET}
realinstall:
${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 ${OBJS} \