forked from Lainports/freebsd-ports
Unidesc consists of four programs for finding out what is in a Unicode file. They are useful when working with Unicode files when one doesn't know the writing system, doesn't have the necessary font, needs to inspect invisible characters, needs to find out whether characters have been combined or in what order they occur, or needs statistics on which characters occur.
23 lines
639 B
Text
23 lines
639 B
Text
--- Makefile.orig Sun Jan 9 20:55:19 2005
|
|
+++ Makefile Sun May 15 16:11:22 2005
|
|
@@ -5,8 +5,9 @@
|
|
BINOBJS= unidesc.o uniname.o unames.o ExplicateUTF8.o unihist.o
|
|
MANS= unidesc.1 uniname.1 ExplicateUTF8.1 unihist.1
|
|
|
|
-CFLAGS= -pedantic -O
|
|
-CC=gcc
|
|
+CFLAGS+= -pedantic -I%%LOCALBASE%%/include
|
|
+LDFLAGS+= -L%%LOCALBASE%%/lib -lintl
|
|
+# CC=gcc
|
|
|
|
all: ${BINS}
|
|
|
|
@@ -42,7 +43,7 @@
|
|
${CC} -c ${CFLAGS} unihist.c
|
|
|
|
unihist: unihist.o Get_UTF32_From_UTF8.o putu8.o
|
|
- ${CC} -o unihist unihist.o Get_UTF32_From_UTF8.o putu8.o
|
|
+ ${CC} -o unihist unihist.o Get_UTF32_From_UTF8.o putu8.o ${LDFLAGS}
|
|
|
|
|
|
ExplicateUTF8.o: ExplicateUTF8.c
|