From db30b8eacce34d6fc901f50982acade589eecd04 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Fri, 3 Feb 2023 18:46:44 +0100 Subject: add makefile for bin tests --- test/bin/makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 test/bin/makefile (limited to 'test/bin/makefile') diff --git a/test/bin/makefile b/test/bin/makefile new file mode 100644 index 0000000..736f51b --- /dev/null +++ b/test/bin/makefile @@ -0,0 +1,13 @@ +SRCS := $(wildcard *.bs) +TARGETS := $(patsubst %.bs,%.bin, $(SRCS)) + +.PHONY: all clean + +all: $(TARGETS) + +%.bin: %.bs + m4 bs.m4 < $< | xxd -r -p > $@ + +clean: + $(RM) $(TARGETS) + -- cgit v1.2.3