aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/cc
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1998-07-07 01:51:18 +0000
committerBruce Evans <bde@FreeBSD.org>1998-07-07 01:51:18 +0000
commit6d31e616a0d9a6056d89767149f0c6c5b13e3dab (patch)
treee8ef011ef8202914e2add38cc8e37a837995649f /gnu/usr.bin/cc
parentda1a06c3c3f17ea5b0293cbdca59ad2b2ef1c536 (diff)
downloadsrc-6d31e616a0d9a6056d89767149f0c6c5b13e3dab.tar.gz
src-6d31e616a0d9a6056d89767149f0c6c5b13e3dab.zip
Added a `build-tools' target for internal tools.
Notes
Notes: svn path=/head/; revision=37460
Diffstat (limited to 'gnu/usr.bin/cc')
-rw-r--r--gnu/usr.bin/cc/cc_tools/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/usr.bin/cc/cc_tools/Makefile b/gnu/usr.bin/cc/cc_tools/Makefile
index fd50ecf9e91d..550208f24383 100644
--- a/gnu/usr.bin/cc/cc_tools/Makefile
+++ b/gnu/usr.bin/cc/cc_tools/Makefile
@@ -1,5 +1,5 @@
#
-# $Id: Makefile,v 1.10 1998/03/23 11:50:38 bde Exp $
+# $Id: Makefile,v 1.11 1998/04/23 16:30:51 bde Exp $
#
#
@@ -21,6 +21,8 @@ CFLAGS+= -I.
# Bytecode components
.for i in arity opcode opname
+build-tools: bi-$i
+
bc-$i.h: bi-$i bytecode.def
./bi-$i < ${GCCDIR}/bytecode.def > bc-$i.h
@@ -54,6 +56,8 @@ GENSRCS+= insn-$i.c
.endfor
.for i in attr codes config emit extract flags opinit output peep recog
+build-tools: gen$i
+
gen$i: gen$i.o rtl.o obstack.o
${CC} ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${.ALLSRC}
@@ -62,6 +66,8 @@ CLEANFILES+= gen$i
.endfor
.for i in attrtab
+build-tools: gen$i
+
gen$i: gen$i.o rtl.o rtlanal.o print-rtl.o obstack.o
${CC} ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${.ALLSRC}