diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-12-13 21:50:03 +0100 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-12-13 21:50:03 +0100 |
commit | f24da35b75c46df8af41514aa4c11e0b9b7ed162 (patch) | |
tree | 4468a6e62915b918f3516d70fc968503238788b1 /shared/protocol-tests/makefile | |
parent | 9c6c30156aae3bf20a3f1b1d3b0766bb3c924412 (diff) |
add binary files as text with comments and makefile
Diffstat (limited to 'shared/protocol-tests/makefile')
-rw-r--r-- | shared/protocol-tests/makefile | 15 |
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) |