draw2d/cmd/Makefile

18 lines
316 B
Makefile
Raw Normal View History

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