diff options
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 |