draw2d/cmd/Makefile

17 lines
280 B
Makefile
Raw Normal View History

include $(GOROOT)/src/Make.inc
2010-12-06 19:42:01 +00:00
TARG=gettingStarted testdraw2d testX11draw testandroid testgopher
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)