summaryrefslogtreecommitdiff
path: root/go/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'go/Makefile')
-rw-r--r--go/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/go/Makefile b/go/Makefile
new file mode 100644
index 0000000..093da5e
--- /dev/null
+++ b/go/Makefile
@@ -0,0 +1,8 @@
+all: out/producer out/consumer
+
+out/producer out/consumer: $(wildcard *.go)
+ @echo $@
+ @go build -o $@ $(patsubst out/%,%.go,$@)
+
+clean:
+ rm -f out/producer out/consumer