2009-05-01 14:21:53 -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)
|
2009-05-01 14:21:53 -06:00
|
|
|
|
2010-08-24 18:00:33 -06:00
|
|
|
TARG=5g
|
2009-05-01 14:21:53 -06:00
|
|
|
|
|
|
|
HFILES=\
|
|
|
|
../gc/go.h\
|
|
|
|
../5l/5.out.h\
|
|
|
|
gg.h\
|
2009-05-28 15:25:54 -06:00
|
|
|
opt.h\
|
2009-05-01 14:21:53 -06:00
|
|
|
|
|
|
|
OFILES=\
|
2009-08-21 17:29:19 -06:00
|
|
|
../5l/enam.$O\
|
|
|
|
cgen.$O\
|
2010-10-20 22:56:20 -06:00
|
|
|
cgen64.$O\
|
|
|
|
cplx.$O\
|
2011-06-02 10:48:17 -06:00
|
|
|
galign.$O\
|
|
|
|
ggen.$O\
|
|
|
|
gobj.$O\
|
|
|
|
gsubr.$O\
|
|
|
|
list.$O\
|
2011-01-07 19:04:48 -07:00
|
|
|
peep.$O\
|
2011-06-02 10:48:17 -06:00
|
|
|
pgen.$O\
|
|
|
|
reg.$O\
|
2009-05-01 14:21:53 -06:00
|
|
|
|
|
|
|
LIB=\
|
2012-02-01 05:14:37 -07:00
|
|
|
../gc/gc.a$O\
|
2009-05-01 14:21:53 -06:00
|
|
|
|
2012-01-30 15:46:31 -07:00
|
|
|
include ../../Make.ctool
|
2009-05-01 14:21:53 -06:00
|
|
|
|
2010-08-24 18:00:33 -06:00
|
|
|
%.$O: ../gc/%.c
|
2012-01-31 20:31:30 -07:00
|
|
|
$(HOST_CC) $(HOST_CFLAGS) -I. -o $@ ../gc/$*.c
|