2008-06-11 18:50:07 -06:00
|
|
|
# Copyright 2009 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.
|
|
|
|
|
2010-08-24 18:00:33 -06:00
|
|
|
include ../../Make.inc
|
|
|
|
O:=$(HOST_O)
|
2008-06-11 18:50:07 -06:00
|
|
|
|
2010-08-24 18:00:33 -06:00
|
|
|
TARG=6c
|
2008-06-11 18:50:07 -06:00
|
|
|
|
|
|
|
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\
|
2010-03-19 15:20:15 -06:00
|
|
|
machcap.$O\
|
2008-06-11 18:50:07 -06:00
|
|
|
../6l/enam.$O\
|
|
|
|
|
|
|
|
LIB=\
|
2010-08-24 18:00:33 -06:00
|
|
|
../cc/cc.a\
|
2008-06-11 18:50:07 -06:00
|
|
|
|
2010-08-24 18:00:33 -06:00
|
|
|
include ../../Make.ccmd
|
2009-07-07 11:07:15 -06:00
|
|
|
|
|
|
|
%.$O: ../cc/%.c
|
2010-08-24 18:00:33 -06:00
|
|
|
$(HOST_CC) $(HOST_CFLAGS) -c -I. -o $@ ../cc/$*.c
|