Initial code release
[external/syslinux.git] / codepage / Makefile
1 PERL            = perl
2 CPSRC           = $(wildcard *.txt)
3 GENFILES        = $(patsubst %.txt,%.cp,$(CPSRC))
4
5 .SUFFIXES: .txt .cp
6
7 all: $(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
14 tidy:
15         rm -f *.cp *.bin
16
17 clean: tidy
18
19 dist: tidy
20
21 spotless: clean