Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(634)

Unified Diff: Makefile

Issue 5504046: remotize kit initial code review
Patch Set: Created 12 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | README » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Makefile
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000000000000000000000000000000000000..5d8eef6d7d1fe3916206b776a0552d53c88de55a
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,35 @@
+include $(GOROOT)/src/Make.inc
+
+TARG=github.com/josvazg/remotize
+GOFILES=remotize.go
+
+include $(GOROOT)/src/Make.pkg
+
+clean: cleandeps
+
+cleandeps:
+ gomake -C tool clean
+ gomake -C goremote clean
+ gomake -C sample/dep clean
+ gomake -C sample clean
+
+all: $(GOROOT)/src/Make.rpkg _obj test sample/_obj
+
+$(GOROOT)/src/Make.rpkg: tool/Make.rpkg
+ cp tool/Make.rpkg $(GOROOT)/src/Make.rpkg
+
+tool/_obj: _obj tool/gen.go tool/detect.go tool/tool_test.go
+ gomake -C tool test install
+ rm tool/remotized*.go
+
+goremote/_obj: tool/_obj goremote/goremote.go
+ #cd goremote && gotest
+ gomake -C goremote install
+
+sample/dep/_obj: sample/dep/dep.go
+ gomake -C sample/dep install
+
+sample/_obj: goremote/_obj sample/dep/_obj sample/sample.go sample/sample_test.go
+ gomake -C sample test
+
+
« no previous file with comments | « no previous file | README » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b