summaryrefslogtreecommitdiff
path: root/src/cmd/6c
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2012-02-06 13:34:25 -0500
committerRuss Cox <rsc@golang.org>2012-02-06 13:34:25 -0500
commit0c6aaf174960bc22938f3294e2ff7d2adfa39813 (patch)
tree5660ba627bfe283f801e810cd00c641400b2c2ce /src/cmd/6c
parent5a0ce39ecbd18a93e42411cae9b618460de9a857 (diff)
downloadgo-0c6aaf174960bc22938f3294e2ff7d2adfa39813.tar.gz
build: delete make paraphernalia
As a convenience to people working on the tools, leave Makefiles that invoke the go dist tool appropriately. They are not used during the build. R=golang-dev, bradfitz, n13m3y3r, gustavo CC=golang-dev http://codereview.appspot.com/5636050
Diffstat (limited to 'src/cmd/6c')
-rw-r--r--src/cmd/6c/Makefile35
1 files changed, 2 insertions, 33 deletions
diff --git a/src/cmd/6c/Makefile b/src/cmd/6c/Makefile
index 169a080d5..3f528d751 100644
--- a/src/cmd/6c/Makefile
+++ b/src/cmd/6c/Makefile
@@ -1,36 +1,5 @@
-# Copyright 2009 The Go Authors. All rights reserved.
+# Copyright 2012 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
-include ../../Make.inc
-O:=$(HOST_O)
-
-TARG=6c
-
-HFILES=\
- gc.h\
- ../6l/6.out.h\
- ../cc/cc.h\
-
-OFILES=\
- cgen.$O\
- list.$O\
- sgen.$O\
- swt.$O\
- txt.$O\
- pgen.$O\
- pswt.$O\
- div.$O\
- mul.$O\
- reg.$O\
- peep.$O\
- machcap.$O\
- ../6l/enam.$O\
-
-LIB=\
- ../cc/cc.a$O\
-
-include ../../Make.ctool
-
-%.$O: ../cc/%.c
- $(HOST_CC) $(HOST_CFLAGS) -I. -o $@ ../cc/$*.c
+include ../../Make.dist