Mercurial > libguess
diff Makefile @ 3:70e2c306231e
- implemented dfa utility functions.
- added dfa.c.
- rewrote guess functions for ar, gr, hw and tr scripts with dfa utilities.
- guess functions for cjk scripts too.
author | Yoshiki Yazawa <yaz@cc.rim.or.jp> |
---|---|
date | Thu, 12 Jun 2008 20:20:43 +0900 |
parents | 754a4550c64e |
children |
line wrap: on
line diff
--- a/Makefile Wed Jun 11 00:11:30 2008 +0900 +++ b/Makefile Thu Jun 12 20:20:43 2008 +0900 @@ -1,7 +1,7 @@ PREFIX = /usr/local MAJOR = 0 -MINOR = 2 +MINOR = 3 REVISION = 0 VER = ${MAJOR}.${MINOR}.${REVISION} @@ -9,6 +9,7 @@ #OBJS = guess.o SRCS = guess.c \ + dfa.c \ arabic_impl.c \ cjk_impl.c \ greek_impl.c \ @@ -22,11 +23,11 @@ OBJS = ${SRCS:.c=.o} LIBS = libguess.so libguess.a -CFLAGS += -fPIC +CFLAGS += -fPIC -pg -g SONAME = libguess.so.${MAJOR} -all: $(LIBS) +all: $(LIBS) test libguess.so: ${OBJS} ${CC} -o libguess.so -shared -Wl,-soname,${SONAME} ${OBJS} @@ -41,8 +42,8 @@ guess_tab.c : guess.scm gosh guess.scm guess_tab.c -test: test.c guess.c - gcc -g -o test test.c guess.c +test: test.c libguess.a + gcc -g -o test test.c libguess.a install: install -m644 libguess.h ${PREFIX}/include