2010-11-25 10:52:28 +00:00
|
|
|
|
|
|
|
include $(GOROOT)/src/Make.inc
|
|
|
|
|
2011-03-17 21:48:30 +00:00
|
|
|
TARG=gettingStarted testdraw2d testX11draw testandroid testgopher testpostscript
|
|
|
|
|
2010-11-25 10:52:28 +00:00
|
|
|
OFILES=$(TARG:%=%.$O)
|
|
|
|
|
|
|
|
all: $(TARG)
|
|
|
|
|
|
|
|
$(TARG): %: %.$O
|
2010-12-06 19:42:01 +00:00
|
|
|
$(LD) -o $@ $<
|
2010-11-25 10:52:28 +00:00
|
|
|
|
|
|
|
$(OFILES): %.$O: %.go Makefile
|
2010-12-06 19:42:01 +00:00
|
|
|
$(GC) -o $@ $<
|
2010-11-25 10:52:28 +00:00
|
|
|
|
|
|
|
clean:
|
2010-12-06 19:42:01 +00:00
|
|
|
rm -f *.[$(OS)] $(TARG) $(CLEANFILES)
|