You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
317 B
10 lines
317 B
.DELETE_ON_ERROR:
|
|
|
|
default: unicode-to-gsm.lua
|
|
|
|
install: default
|
|
mkdir -p $(TARGET)/lib/
|
|
cp *.{fnl,lua} $(TARGET)/lib
|
|
|
|
unicode-to-gsm.lua: GSM0338.TXT
|
|
sed '/^#/d' < $^ |awk 'BEGIN {print "return {"} { if($$1 != "#") { print "[" strtonum($$2) "]=" $$1 ", -- " substr($$0, match($$0,$$2)) }} END {print "}"}' >$@
|
|
|