version 1.3, 1999/12/15 09:33:53 |
version 1.5, 1999/12/16 06:55:07 |
|
|
# -*- mode: Makefile -*- |
# -*- mode: Makefile -*- |
# $OpenXM: OpenXM/src/ox_toolkit/Makefile,v 1.2 1999/12/15 05:22:53 ohara Exp $ |
# $OpenXM: OpenXM/src/ox_toolkit/Makefile,v 1.4 1999/12/16 06:09:42 ohara Exp $ |
|
|
CFLAGS = -g -O2 -DDEBUG -I${OpenXM_HOME}/src/gmp |
CFLAGS = -g -O2 -DDEBUG -I${OpenXM_HOME}/src/gmp |
LIBOBJS = ox.o parse.o mysocket.o |
LIBOBJS = ox.o parse.o mysocket.o |
GMPSRC = ${OpenXM_HOME}/src/gmp |
GMPSRC = ${OpenXM_HOME}/src/gmp |
|
OXWEAVE = ${OpenXM_HOME}/bin/oxweave |
|
BINARIES = bconv testclient sample1 sample2 |
|
|
all: libox.a libgmp.a bconv testclient README.jp README.en |
all: libox.a libgmp.a ${BINARIES} README.jp README.en |
|
|
ox.o mysocket.o: mysocket.h |
ox.o mysocket.o: mysocket.h |
ox.o parse.o: ox.h oxtag.h parse.h |
ox.o parse.o: ox.h oxtag.h parse.h |
Line 25 bconv: bconv.o libox.a libgmp.a |
|
Line 27 bconv: bconv.o libox.a libgmp.a |
|
testclient: testclient.o libox.a libgmp.a |
testclient: testclient.o libox.a libgmp.a |
${CC} ${CFLAGS} -o $@ testclient.o -L. -lox -lgmp |
${CC} ${CFLAGS} -o $@ testclient.o -L. -lox -lgmp |
|
|
|
sample1: sample1.o libox.a libgmp.a |
|
${CC} ${CFLAGS} -o $@ sample1.o -L. -lox -lgmp |
|
|
|
sample2: sample2.o libox.a libgmp.a |
|
${CC} ${CFLAGS} -o $@ sample2.o -L. -lox -lgmp |
|
|
README.jp: README |
README.jp: README |
-rm README.jp |
${OXWEAVE} ja common < README > README.jp |
oxweave ja common < README > README.jp |
|
|
|
README.en: README |
README.en: README |
-rm README.en |
${OXWEAVE} en common < README > README.en |
oxweave en common < README > README.en |
|
|
|
clean: |
clean: |
-rm -f *.o *~ libox.a libgmp.a README.jp README.en bconv testclient |
-rm -f *.o *~ libox.a libgmp.a README.jp README.en \ |
|
bconv testclient core a.out sample1 sample2 |
|
|