From: Paul J R Date: Mon, 16 Nov 2009 14:49:06 +0000 (+1100) Subject: Makefile.. X-Git-Url: http://git.pjr.cc/?a=commitdiff_plain;h=1e5a232e9f99fb59afd9ce40516eed05adcb0435;p=goDBhammer.git Makefile.. trying to figure out the json "interface"... all i can say about it is, fuck me. --- diff --git a/src/Makefile b/src/Makefile new file mode 100644 index 0000000..503493b --- /dev/null +++ b/src/Makefile @@ -0,0 +1,24 @@ +include $(GOROOT)/src/Make.$(GOARCH) + +TARG=dbibridge + +CGOFILES=dbibridge.go +CGO_LDFLAGS=-ldbi + +include $(GOROOT)/src/Make.pkg + +all: install godbhammer + +godbhammer: dbconnector.8 benchcontroller.8 webconnector.8 + $(LD) -o godbhammer webconnector.8 + +dbconnector.8: + $(GC) dbconnector.go + +benchcontroller.8: + $(GC) benchcontroller.go + +webconnector.8: + $(GC) webconnector.go + + diff --git a/src/cleanit b/src/cleanit deleted file mode 100755 index ed7144d..0000000 --- a/src/cleanit +++ /dev/null @@ -1 +0,0 @@ -rm -f *.cgo[1234].* *.so *.o *.a *.8 diff --git a/src/dbconnector.go b/src/dbconnector.go index 0123d4d..fa86e41 100644 --- a/src/dbconnector.go +++ b/src/dbconnector.go @@ -2,7 +2,8 @@ package dbconnector import ( - "./dbibridge"; + //"./dbibridge"; + "dbibridge"; //"strings"; "time"; "rand";