update makefiles and test files
This commit is contained in:
parent
b0cb20d244
commit
ca1911d7f2
6 changed files with 14 additions and 14 deletions
|
@ -1,16 +1,16 @@
|
||||||
|
|
||||||
include $(GOROOT)/src/Make.inc
|
include $(GOROOT)/src/Make.inc
|
||||||
|
|
||||||
TARG=gettingStarted testdraw2d testPath
|
TARG=gettingStarted testdraw2d testX11draw testandroid testgopher
|
||||||
OFILES=$(TARG:%=%.$O)
|
OFILES=$(TARG:%=%.$O)
|
||||||
|
|
||||||
all: $(TARG)
|
all: $(TARG)
|
||||||
|
|
||||||
$(TARG): %: %.$O
|
$(TARG): %: %.$O
|
||||||
$(LD) -o $@ $<
|
$(LD) -o $@ $<
|
||||||
|
|
||||||
$(OFILES): %.$O: %.go Makefile
|
$(OFILES): %.$O: %.go Makefile
|
||||||
$(GC) -o $@ $<
|
$(GC) -o $@ $<
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f *.[$(OS)] $(TARG) $(CLEANFILES)
|
rm -f *.[$(OS)] $(TARG) $(CLEANFILES)
|
||||||
|
|
|
@ -11,8 +11,8 @@ import (
|
||||||
|
|
||||||
"image"
|
"image"
|
||||||
"image/png"
|
"image/png"
|
||||||
"draw2d"
|
//"draw2d"
|
||||||
//"draw2d.googlecode.com/svn/trunk/draw2d/src/pkg/draw2d"
|
"draw2d.googlecode.com/svn/trunk/draw2d/src/pkg/draw2d"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -6,8 +6,8 @@ import (
|
||||||
"exp/draw/x11"
|
"exp/draw/x11"
|
||||||
"image"
|
"image"
|
||||||
"math"
|
"math"
|
||||||
"draw2d"
|
//"draw2d"
|
||||||
//"draw2d.googlecode.com/svn/trunk/draw2d/src/pkg/draw2d"
|
"draw2d.googlecode.com/svn/trunk/draw2d/src/pkg/draw2d"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|
|
@ -11,8 +11,8 @@ import (
|
||||||
"math"
|
"math"
|
||||||
"image"
|
"image"
|
||||||
"image/png"
|
"image/png"
|
||||||
"draw2d"
|
//"draw2d"
|
||||||
//"draw2d.googlecode.com/svn/trunk/draw2d/src/pkg/draw2d"
|
"draw2d.googlecode.com/svn/trunk/draw2d/src/pkg/draw2d"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
|
@ -13,8 +13,8 @@ import (
|
||||||
"math"
|
"math"
|
||||||
"image"
|
"image"
|
||||||
"image/png"
|
"image/png"
|
||||||
"draw2d"
|
//"draw2d"
|
||||||
//"draw2d.googlecode.com/svn/trunk/draw2d/src/pkg/draw2d"
|
"draw2d.googlecode.com/svn/trunk/draw2d/src/pkg/draw2d"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
|
@ -11,8 +11,8 @@ import (
|
||||||
|
|
||||||
"image"
|
"image"
|
||||||
"image/png"
|
"image/png"
|
||||||
"draw2d"
|
//"draw2d"
|
||||||
//"draw2d.googlecode.com/svn/trunk/draw2d/src/pkg/draw2d"
|
"draw2d.googlecode.com/svn/trunk/draw2d/src/pkg/draw2d"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
Loading…
Reference in a new issue