diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /support/utf2any/Makefile |
Initial commit
Diffstat (limited to 'support/utf2any/Makefile')
-rw-r--r-- | support/utf2any/Makefile | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/support/utf2any/Makefile b/support/utf2any/Makefile new file mode 100644 index 0000000000..a7267fa418 --- /dev/null +++ b/support/utf2any/Makefile @@ -0,0 +1,27 @@ + +.SUFFIXES: + +# MAPDIR defines the place were utf2any will search for symbol maps +# This should be a directory, within double quotes, ending with a slash +# Or it can be NULL + +MAPDIR = \"/usr/local/lib/utf/\" +#MAPDIR = NULL + +mapdir: + @echo + @echo Edit Makefile to specify were utf2any should look for symbol maps + @echo Current value is: ${MAPDIR} + @echo When done, run: make all + @echo + @exit 1 + +all: utf2any utfcode + +utf2any: utf2any.l + flex -B -8 utf2any.l + gcc -s -Wall -DMAPDIR=${MAPDIR} -o utf2any lex.yy.c -lfl + rm lex.yy.c + +utfcode: utfcode.c + gcc -s -Wall -o utfcode utfcode.c |