blob: 736f51b1d576e10ea58ec4a0f713d02fc65cfc38 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
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)
|