summaryrefslogtreecommitdiffstats
path: root/hyper/process/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'hyper/process/Makefile')
-rw-r--r--hyper/process/Makefile23
1 files changed, 14 insertions, 9 deletions
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