Add support for creating codepage/Unicode mapping tables
[people/xl0/syslinux-lua.git] / codepage / Makefile
1 PERL            = perl
2 CPSRC           = $(wildcard *.txt)
3 GENFILES        = $(patsubst %.txt,%.bin,$(CPSRC))
4
5 .SUFFIXES: .txt .bin
6
7 all: $(GENFILES)
8
9 tidy:
10
11 clean:
12         rm -f $(GENFILES)
13
14 dist: tidy
15
16 %.bin: %.txt cptable.pl UnicodeData
17         $(PERL) cptable.pl UnicodeData $< $@