update makefiles and test files

This commit is contained in:
legoff.laurent 2010-12-06 19:42:01 +00:00
parent b0cb20d244
commit ca1911d7f2
6 changed files with 14 additions and 14 deletions

View file

@ -1,16 +1,16 @@
include $(GOROOT)/src/Make.inc
TARG=gettingStarted testdraw2d testPath
TARG=gettingStarted testdraw2d testX11draw testandroid testgopher
OFILES=$(TARG:%=%.$O)
all: $(TARG)
$(TARG): %: %.$O
$(LD) -o $@ $<
$(LD) -o $@ $<
$(OFILES): %.$O: %.go Makefile
$(GC) -o $@ $<
$(GC) -o $@ $<
clean:
rm -f *.[$(OS)] $(TARG) $(CLEANFILES)
rm -f *.[$(OS)] $(TARG) $(CLEANFILES)

View file

@ -11,8 +11,8 @@ import (
"image"
"image/png"
"draw2d"
//"draw2d.googlecode.com/svn/trunk/draw2d/src/pkg/draw2d"
//"draw2d"
"draw2d.googlecode.com/svn/trunk/draw2d/src/pkg/draw2d"
)

View file

@ -6,8 +6,8 @@ import (
"exp/draw/x11"
"image"
"math"
"draw2d"
//"draw2d.googlecode.com/svn/trunk/draw2d/src/pkg/draw2d"
//"draw2d"
"draw2d.googlecode.com/svn/trunk/draw2d/src/pkg/draw2d"
)
func main() {

View file

@ -11,8 +11,8 @@ import (
"math"
"image"
"image/png"
"draw2d"
//"draw2d.googlecode.com/svn/trunk/draw2d/src/pkg/draw2d"
//"draw2d"
"draw2d.googlecode.com/svn/trunk/draw2d/src/pkg/draw2d"
)
const (

View file

@ -13,8 +13,8 @@ import (
"math"
"image"
"image/png"
"draw2d"
//"draw2d.googlecode.com/svn/trunk/draw2d/src/pkg/draw2d"
//"draw2d"
"draw2d.googlecode.com/svn/trunk/draw2d/src/pkg/draw2d"
)
const (

View file

@ -11,8 +11,8 @@ import (
"image"
"image/png"
"draw2d"
//"draw2d.googlecode.com/svn/trunk/draw2d/src/pkg/draw2d"
//"draw2d"
"draw2d.googlecode.com/svn/trunk/draw2d/src/pkg/draw2d"
)
const (