Makefile..
authorPaul J R <me@pjr.cc>
Mon, 16 Nov 2009 14:49:06 +0000 (01:49 +1100)
committerPaul J R <me@pjr.cc>
Mon, 16 Nov 2009 14:49:06 +0000 (01:49 +1100)
trying to figure out the json "interface"... all i can say about it is, fuck me.

src/Makefile [new file with mode: 0644]
src/cleanit [deleted file]
src/dbconnector.go

diff --git a/src/Makefile b/src/Makefile
new file mode 100644 (file)
index 0000000..503493b
--- /dev/null
@@ -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 (executable)
index ed7144d..0000000
+++ /dev/null
@@ -1 +0,0 @@
-rm -f *.cgo[1234].* *.so *.o *.a *.8
index 0123d4d..fa86e41 100644 (file)
@@ -2,7 +2,8 @@
 package dbconnector
 
 import (
-       "./dbibridge";
+       //"./dbibridge";
+       "dbibridge";
        //"strings";
        "time";
        "rand";