From f51b079da473cc07360503f8239c68b4a7eced9a Mon Sep 17 00:00:00 2001 From: Johnny Richard Date: Sun, 30 Apr 2023 19:42:33 +0200 Subject: build: Add Makefile to build pipa examples Signed-off-by: Johnny Richard --- examples/Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 examples/Makefile (limited to 'examples/Makefile') diff --git a/examples/Makefile b/examples/Makefile new file mode 100644 index 0000000..0748662 --- /dev/null +++ b/examples/Makefile @@ -0,0 +1,10 @@ +SRCS := $(wildcard *.pipa) +BINS := $(patsubst %.pipa, %.bin, $(SRCS)) + +.PHONY: all +all: $(BINS) + +%.bin: %.pipa + ../pipa --out $@ $< +clean: + $(RM) $(BINS) -- cgit v1.2.3