summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/gcc2/libgcc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/gcc2/libgcc/Makefile')
-rw-r--r--gnu/usr.bin/gcc2/libgcc/Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/gnu/usr.bin/gcc2/libgcc/Makefile b/gnu/usr.bin/gcc2/libgcc/Makefile
index feac93b1b7e..8a022986f89 100644
--- a/gnu/usr.bin/gcc2/libgcc/Makefile
+++ b/gnu/usr.bin/gcc2/libgcc/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.1 1995/10/18 08:39:48 deraadt Exp $
+# $Id: Makefile,v 1.2 1995/12/14 03:42:30 deraadt Exp $
LIB= gcc
NOPROFILE=
@@ -34,14 +34,16 @@ OBJS= ${LIB1OBJS} ${LIB2OBJS}
LIB2SOBJS=${LIB2OBJS:.o=.so}
#${LIB1OBJS}: libgcc1.c
-# ${COMPILE.c} -DL${.PREFIX} -o ${.TARGET} ${.CURDIR}/libgcc1.c
-# @${LD} -x -r ${.TARGET}
-# @mv a.out ${.TARGET}
+# @echo "${COMPILE.c} -DL${.PREFIX} -o ${.TARGET} ${.CURDIR}/libgcc1.c"
+# @${COMPILE.c} -DL${.PREFIX} -o ${.TARGET}.o ${.CURDIR}/libgcc1.c
+# @${LD} -x -r ${.TARGET}.o -o ${.TARGET}
+# @rm -f ${.TARGET}.o
${LIB2OBJS}: libgcc2.c
- ${COMPILE.c} -DL${.PREFIX} -o ${.TARGET} ${.CURDIR}/libgcc2.c
- @${LD} -x -r ${.TARGET}
- @mv a.out ${.TARGET}
+ @echo "${COMPILE.c} -DL${.PREFIX} -o ${.TARGET} ${.CURDIR}/libgcc2.c"
+ @${COMPILE.c} -DL${.PREFIX} -o ${.TARGET}.o ${.CURDIR}/libgcc2.c
+ @${LD} -x -r ${.TARGET}.o -o ${.TARGET}
+ @rm -f ${.TARGET}.o
#${LIB1SOBJS}: libgcc1.c
# ${COMPILE.c} -fpic -DL${.PREFIX} -o ${.TARGET} ${.CURDIR}/libgcc1.c