summaryrefslogtreecommitdiff
path: root/src/cmd/8c/Makefile
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-07-07 10:07:15 -0700
committerRuss Cox <rsc@golang.org>2009-07-07 10:07:15 -0700
commit5ab72d41be42594a9ec39bdd5294d91bdd3a3f42 (patch)
tree8dc5fa7a0e19c1a4bfdbca423143523fea7f2f54 /src/cmd/8c/Makefile
parent1143f836fab906e1ab6c0709bf274780628eb803 (diff)
downloadgo-5ab72d41be42594a9ec39bdd5294d91bdd3a3f42.tar.gz
move 6c/pgen.c, 6c/pswt.c into cc
and make 5c, 8c use them. centralizes reachability analysis and switch generation. now 8c doesn't have spurious warnings in pkg/runtime. R=ken OCL=31266 CL=31266
Diffstat (limited to 'src/cmd/8c/Makefile')
-rw-r--r--src/cmd/8c/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cmd/8c/Makefile b/src/cmd/8c/Makefile
index 75919ddfd..0b3736b27 100644
--- a/src/cmd/8c/Makefile
+++ b/src/cmd/8c/Makefile
@@ -19,6 +19,8 @@ OFILES=\
list.$O\
machcap.$O\
mul.$O\
+ pgen.$O\
+ pswt.$O\
peep.$O\
reg.$O\
sgen.$O\
@@ -39,3 +41,7 @@ clean:
install: $(TARG)
cp $(TARG) $(BIN)/$(TARG)
+
+%.$O: ../cc/%.c
+ $(CC) $(CFLAGS) -c -I. -o $@ ../cc/$*.c
+