Makefile: build leg using GOHOSTOS and GOHOSTARCH

This commit is contained in:
Michael Teichgräber 2010-12-01 19:59:53 +01:00
parent f91ece3c6b
commit e54246e086

View File

@ -50,8 +50,8 @@ LEG = ./peg/leg/leg
$(LEG): $(LEG):
if(! test -d peg); then make peg; fi if(! test -d peg); then make peg; fi
make -C peg all make -C peg all GOOS=$(GOHOSTOS) GOARCH=$(GOHOSTARCH)
make -C peg/leg all make -C peg/leg all GOOS=$(GOHOSTOS) GOARCH=$(GOHOSTARCH)
peg: peg:
$(VCS) clone $(GITHUB)/knieriem/peg $(VCS) clone $(GITHUB)/knieriem/peg