README.md: fix typo
[32620_extract] / Makefile
1 CFLAGS=-Wall
2
3 all: convert
4
5 2620_8401.bin: $(sort $(wildcard ROMs/2620_8401-*.bin))
6 cat $^ >$@
7
8 2620_span.bin: $(sort $(wildcard ROMs/2620_span-*.bin))
9 cat $^ >$@
10
11 german: 2620_8401.bin extract
12 ./extract 2620_8401.bin german
13
14 spanish: 2620_span.bin extract
15 ./extract 2620_span.bin spanish
16
17 convert: german spanish
18 $(MAKE) wav
19
20 wav: $(patsubst %.raw,%.wav,$(wildcard *.raw))
21
22 %.wav: %.raw
23 sox -t raw -r 8000 -b 8 -e unsigned-integer -c 1 $< $@
24
25 clean:
26 -rm -f extract {german,spanish}-*.raw {german,spanish}-*.wav 2620_8401.bin 2620_span.bin
27
28 .PHONY: clean all convert wav
29 .SUFFIXES: .wav .raw
Impressum, Datenschutz