1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
PERL = perl CPSRC = $(wildcard *.txt) GENFILES = $(patsubst %.txt,%.cp,$(CPSRC)) .SUFFIXES: .txt .cp all: $(GENFILES) %.cp: %.txt cptable.pl UnicodeData $(PERL) cptable.pl UnicodeData $< $@ tidy: rm -f *.cp *.bin clean: tidy dist: tidy spotless: clean