]> cvs.zerfleddert.de Git - 32620_extract/blame_incremental - Makefile
README.md: fix typo
[32620_extract] / Makefile
... / ...
CommitLineData
1CFLAGS=-Wall
2
3all: convert
4
52620_8401.bin: $(sort $(wildcard ROMs/2620_8401-*.bin))
6 cat $^ >$@
7
82620_span.bin: $(sort $(wildcard ROMs/2620_span-*.bin))
9 cat $^ >$@
10
11german: 2620_8401.bin extract
12 ./extract 2620_8401.bin german
13
14spanish: 2620_span.bin extract
15 ./extract 2620_span.bin spanish
16
17convert: german spanish
18 $(MAKE) wav
19
20wav: $(patsubst %.raw,%.wav,$(wildcard *.raw))
21
22%.wav: %.raw
23 sox -t raw -r 8000 -b 8 -e unsigned-integer -c 1 $< $@
24
25clean:
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