From f24da35b75c46df8af41514aa4c11e0b9b7ed162 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Tue, 13 Dec 2022 21:50:03 +0100 Subject: add binary files as text with comments and makefile --- shared/protocol-tests/makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 shared/protocol-tests/makefile (limited to 'shared/protocol-tests/makefile') 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) -- cgit v1.2.3