Skip to content
Browse files

move example to subdirectory.

  • Loading branch information...
1 parent f48b555 commit 811ec8553923bcedeb02161da2e3e665a0ee2b4f @akrennmair committed Oct 12, 2011
Showing with 11 additions and 4 deletions.
  1. +3 −4 Makefile
  2. +8 −0 example/Makefile
  3. 0 { → example}/example.go
  4. 0 { → example}/example.stfl
View
7 Makefile
@@ -2,11 +2,10 @@ include $(GOROOT)/src/Make.inc
TARG=github.com/akrennmair/go-stfl
CGOFILES=stfl.go
-CLEANFILES+=example
include $(GOROOT)/src/Make.pkg
-%: install %.go
- $(GC) $*.go
- $(LD) -o $@ $*.$(O)
+example:
+ $(MAKE) -C $@
+.PHONY: example
View
8 example/Makefile
@@ -0,0 +1,8 @@
+include $(GOROOT)/src/Make.inc
+
+TARG=example
+GOFILES=example.go
+#CLEANFILES+=example
+
+include $(GOROOT)/src/Make.cmd
+
View
0 example.go → example/example.go
File renamed without changes.
View
0 example.stfl → example/example.stfl
File renamed without changes.

0 comments on commit 811ec85

Please sign in to comment.
Something went wrong with that request. Please try again.