Makefile..
[goDBhammer.git] / src / Makefile
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
+
+