1PERL = perl 2CPSRC = $(wildcard *.txt) 3GENFILES = $(patsubst %.txt,%.cp,$(CPSRC)) 4 5.SUFFIXES: .txt .cp 6 7all: $(GENFILES) 8 9# This generates codepage files where the display and filesystem 10# codepages are both the same. 11%.cp: %.txt cptable.pl UnicodeData 12 $(PERL) cptable.pl UnicodeData $< $< $@ 13 14tidy: 15 rm -f *.cp *.bin 16 17clean: tidy 18 19dist: tidy 20 21spotless: clean 22

