From 602c45ac1086b4ace9e99edba4c9cfd1f142f016 Mon Sep 17 00:00:00 2001 From: raylu Date: Sun, 7 Aug 2011 22:44:57 -0700 Subject: use more robust go make system --- Makefile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 94e6269..2d31fbe 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,8 @@ -all: aa - -main.6: main.go db.go updates.go - 6g main.go db.go updates.go +include $(GOROOT)/src/Make.inc -aa: main.6 - 6l -o aa main.6 +TARG=aa +GOFILES=main.go db.go updates.go +pkgdir=$(QUOTED_GOROOT)/pkg/$(GOOS)_$(GOARCH) +PREREQ=$(pkgdir)/github.com/Philio/GoMySQL.a + +include $(GOROOT)/src/Make.cmd -- cgit v1.2.3