From 6cb808fa910cb32a9ec786616be7b821a500e8d8 Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 14 Sep 2011 03:13:20 +0200 Subject: //hyper/process Makefile: initial commit --- hyper/process/Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 hyper/process/Makefile (limited to 'hyper/process/Makefile') diff --git a/hyper/process/Makefile b/hyper/process/Makefile new file mode 100644 index 00000000..7d61b28d --- /dev/null +++ b/hyper/process/Makefile @@ -0,0 +1,14 @@ + +A := 8 + +.PHONY: all clean +all: main + +clean: + rm -f main *.$A + +%.$A: %.go + $Ag $< + +%: %.$A + $Al -o $@ $< -- cgit v1.2.3 From 1e9f32bf57ab45ff1d3a61294e323b9c0cd3309b Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 14 Sep 2011 21:47:41 +0200 Subject: //hyper/process: Emergency Commit #2 --- hyper/process/Makefile | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) (limited to 'hyper/process/Makefile') diff --git a/hyper/process/Makefile b/hyper/process/Makefile index 7d61b28d..bbc1c2fb 100644 --- a/hyper/process/Makefile +++ b/hyper/process/Makefile @@ -1,14 +1,19 @@ +include $(GOROOT)/src/Make.inc -A := 8 +GCIMPORTS = -I pkg/$(GOOS)_$(GOARCH) +LDIMPORTS = -L pkg/$(GOOS)_$(GOARCH) -.PHONY: all clean -all: main +TARG=main +GOFILES=\ + main.go\ -clean: - rm -f main *.$A +include $(GOROOT)/src/Make.cmd -%.$A: %.go - $Ag $< +export GOPATH := $(PWD) +.PHONY: prepare +prepare: + #goinstall -v github.com/garyburd/twister/server + goinstall -v gorilla.googlecode.com/hg/gorilla/mux + goinstall -v $(PWD)/src/hyper/process -%: %.$A - $Al -o $@ $< +_go_.$O: prepare -- cgit v1.2.3