summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..43bc7d5
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,17 @@
+all: bin/rrdcached
+all: bin/rrdcgi
+all: bin/rrdcreate
+all: bin/rrdinfo
+all: bin/rrdtool
+all: bin/rrdupdate
+all: bin/librrd.so
+.PHONY: all
+
+bin/%.so: cmd/%/
+ go build -o $@ -buildmode=c-shared ./cmd/$*
+bin/%: cmd/%/
+ go build -o $@ ./cmd/$*
+
+.PHONY: FORCE
+.DELETE_ON_ERROR:
+.SECONDARY: