make: add a test target

This commit is contained in:
Sebastien Binet 2015-04-16 17:01:43 +02:00
parent 983b7fb4a9
commit 49e09051b1
1 changed files with 11 additions and 1 deletions

View File

@ -1,7 +1,7 @@
#include $(GOROOT)/src/Make.inc
all: install
all: install test
install:
cd draw2d && go install
@ -15,6 +15,16 @@ build:
cd postscript && go build
# cd wingui && make build
test:
#cd cmd && go build draw2dgl.go
cd cmd && go build gettingStarted.go
cd cmd && go build testandroid.go
cd cmd && go build testdraw2d.go
cd cmd && go build testgopher.go
cd cmd && go build testimage.go
cd cmd && go build testpostscript.go
#cd cmd && go build testX11draw.go
clean:
cd draw2d && go clean
# cd draw2dgl && make clean