aboutsummaryrefslogtreecommitdiff
path: root/shared/protocol-tests/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'shared/protocol-tests/makefile')
-rw-r--r--shared/protocol-tests/makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/shared/protocol-tests/makefile b/shared/protocol-tests/makefile
new file mode 100644
index 0000000..f8ac490
--- /dev/null
+++ b/shared/protocol-tests/makefile
@@ -0,0 +1,15 @@
+XXD := xxd
+RM := rm -f
+
+SRCS := $(wildcard *.src)
+TARGET := $(SRCS:.src=.bin)
+
+.PHONY: all clean
+
+all: $(TARGET)
+
+%.bin: %.src
+ $(XXD) -r -c1 $< $@
+
+clean:
+ $(RM) $(TARGET)