1 # Copyright 2009 The Go Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style
3 # license that can be found in the LICENSE file.
4
5 include ../../Make.inc
6 O:=$(HOST_O)
7
8 TARG=8g
9
10 HFILES=\
11 ../gc/go.h\
12 ../8l/8.out.h\
13 gg.h\
14 opt.h\
15
16 OFILES=\
17 ../8l/enam.$O\
18 cgen.$O\
19 cgen64.$O\
20 cplx.$O\
21 galign.$O\
22 ggen.$O\
23 gobj.$O\
24 gsubr.$O\
25 list.$O\
26 peep.$O\
27 pgen.$O\
28 reg.$O\
29
30 LIB=\
31 ../gc/gc.a\
32
33 include ../../Make.ccmd
34
35 %.$O: ../gc/%.c
36 $(HOST_CC) $(HOST_CFLAGS) -c -I. -o $@ ../gc/$*.c