draw2d/Makefile

41 lines
752 B
Makefile
Raw Normal View History

2011-04-27 08:06:14 +00:00
#include $(GOROOT)/src/Make.inc
2015-04-16 15:01:43 +00:00
all: install test
2011-04-27 08:06:14 +00:00
install:
2012-03-29 14:52:12 +00:00
cd draw2d && go install
2011-05-18 07:53:23 +00:00
# cd draw2dgl && make install
2012-03-29 14:52:12 +00:00
cd postscript && go install
2011-04-27 08:06:14 +00:00
# cd wingui && make install
2012-03-29 14:52:12 +00:00
build:
cd draw2d && go build
# cd draw2dgl && make build
cd postscript && go build
# cd wingui && make build
2015-04-16 15:01:43 +00:00
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
2011-04-27 08:06:14 +00:00
clean:
2012-03-29 14:52:12 +00:00
cd draw2d && go clean
2011-05-18 07:53:23 +00:00
# cd draw2dgl && make clean
2012-03-29 14:52:12 +00:00
cd postscript && go clean
cd cmd && go clean
2011-04-27 08:06:14 +00:00
# cd wingui && make clean
command:
cd cmd && make
fmt:
gofmt -w .