summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gnu/usr.bin/cc/f771/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/gnu/usr.bin/cc/f771/Makefile b/gnu/usr.bin/cc/f771/Makefile
index fb242b1..f0e3352 100644
--- a/gnu/usr.bin/cc/f771/Makefile
+++ b/gnu/usr.bin/cc/f771/Makefile
@@ -19,10 +19,15 @@ LDADD= ${LIBCC_INT}
build-tools: fini
-fini: fini.o proj.o
+# The use of ``proj-BT.o'' is to get around bogus dependacy information
+# created for build-tools sources.
+fini: fini.o proj-BT.o
${CC} -static ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${.ALLSRC}
-CLEANFILES+= fini
+proj-BT.o: proj.c
+ ${CC} ${CFLAGS} -o ${.TARGET} -c ${.ALLSRC}
+
+CLEANFILES+= fini fini.o proj-BT.o
#-----------------------------------------------------------------------
# str-* gunk
OpenPOWER on IntegriCloud