summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/stand
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 /sys/arch/mvme88k/stand
parent347898fa5965662f6b1a7636224c3d72a7a5590a (diff)
avoid intermediate files with same name (ie. a.out) for parallel make
ok miod
Diffstat (limited to 'sys/arch/mvme88k/stand')
-rw-r--r--sys/arch/mvme88k/stand/bugcrt/Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/arch/mvme88k/stand/bugcrt/Makefile b/sys/arch/mvme88k/stand/bugcrt/Makefile
index 98a879a6e82..37cd7edf486 100644
--- a/sys/arch/mvme88k/stand/bugcrt/Makefile
+++ b/sys/arch/mvme88k/stand/bugcrt/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.10 2003/10/02 13:24:39 miod Exp $
+# $OpenBSD: Makefile,v 1.11 2007/10/30 06:03:16 deraadt Exp $
S=${.CURDIR}/../../../..
@@ -9,24 +9,24 @@ SINGLE_CFLAGS=-DSTACK_ASM_OP="\".long ${STAGE2_RELOC}\"" -DSTAGE1
SRCS=crt.c
OBJS=stage1crt.o stage2crt.o singlecrt.o
-CLEANFILES+=a.out ${OBJS}
+CLEANFILES+=stage1crt.out stage2crt.out singlecrt.out ${OBJS}
all: ${OBJS}
stage1crt.o: crt.c
${CC} ${CFLAGS} ${STAGE1_CFLAGS} -c ${.CURDIR}/crt.c -o ${.TARGET}
- ${LD} -x -r ${.TARGET}
- mv a.out ${.TARGET}
+ ${LD} -x -r ${.TARGET} -o ${.TARGET}ut
+ mv ${.TARGET}ut ${.TARGET}
stage2crt.o: crt.c
${CC} ${CFLAGS} ${STAGE2_CFLAGS} -c ${.CURDIR}/crt.c -o ${.TARGET}
- ${LD} -x -r ${.TARGET}
- mv a.out ${.TARGET}
+ ${LD} -x -r ${.TARGET} -o ${.TARGET}ut
+ mv ${.TARGET}ut ${.TARGET}
singlecrt.o: crt.c
${CC} ${CFLAGS} ${SINGLE_CFLAGS} -c ${.CURDIR}/crt.c -o ${.TARGET}
- ${LD} -x -r ${.TARGET}
- mv a.out ${.TARGET}
+ ${LD} -x -r ${.TARGET} -o ${.TARGET}ut
+ mv ${.TARGET}ut ${.TARGET}
install: