diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -4,12 +4,12 @@ all: bin/rrdcreate all: bin/rrdinfo all: bin/rrdtool all: bin/rrdupdate -all: bin/librrd.so +all: bin/librrd.so bin/librrd.h .PHONY: all -bin/%.so: cmd/%/ - go build -o $@ -buildmode=c-shared ./cmd/$* -bin/%: cmd/%/ +bin/%.so bin/%.h: cmd/%/ FORCE + go build -o $(@D)/$*.so -buildmode=c-shared ./cmd/$* +bin/%: cmd/%/ FORCE go build -o $@ ./cmd/$* .PHONY: FORCE |