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