summaryrefslogtreecommitdiff
path: root/examples/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'examples/Makefile')
-rw-r--r--examples/Makefile10
1 files changed, 10 insertions, 0 deletions
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)