aboutsummaryrefslogtreecommitdiffstats
path: root/codepage/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'codepage/Makefile')
-rw-r--r--codepage/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/codepage/Makefile b/codepage/Makefile
new file mode 100644
index 00000000..70e2cf06
--- /dev/null
+++ b/codepage/Makefile
@@ -0,0 +1,17 @@
+PERL = perl
+CPSRC = $(wildcard *.txt)
+GENFILES = $(patsubst %.txt,%.bin,$(CPSRC))
+
+.SUFFIXES: .txt .bin
+
+all: $(GENFILES)
+
+tidy:
+
+clean:
+ rm -f $(GENFILES)
+
+dist: tidy
+
+%.bin: %.txt cptable.pl UnicodeData
+ $(PERL) cptable.pl UnicodeData $< $@