aboutsummaryrefslogtreecommitdiff
path: root/proto/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'proto/makefile')
-rw-r--r--proto/makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/proto/makefile b/proto/makefile
new file mode 100644
index 0000000..3bc4ca4
--- /dev/null
+++ b/proto/makefile
@@ -0,0 +1,7 @@
+PROTOCARGS += --cpp_out .
+
+all: puzbusv1.pb.cc puzbusv1.pb.h
+
+%.pb.cc %.pb.h &: %.proto
+ protoc $(PROTOCARGS) $<
+