[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / OpenXM / src / hgm / mh / src

File: [local] / OpenXM / src / hgm / mh / src / Makefile (download)

Revision 1.4, Wed Feb 20 05:56:16 2013 UTC (11 years, 7 months ago) by takayama
Branch: MAIN
Changes since 1.3: +5 -2 lines

mh_exit(0x7fffffff) changes the mode of this function to the standalone mode.
Initial version of jack-n.c of evaluating the matrix hypergeometric function
by Koev-Edelman's algorithm.

## $OpenXM: OpenXM/src/hgm/mh/src/Makefile,v 1.4 2013/02/20 05:56:16 takayama Exp $
OPT=-g -DSTANDALONE
OPT2=-g
# gdb mh-w-n with the -g option.
all: mh-w-n

mh-w-n: code-n.o rk.o wmain.c sfile.o sfile.h
	${CC} -o mh-w-n ${OPT} wmain.c rk.o code-n.o sfile.o

rk.o: rk.c
	${CC} -c ${OPT} rk.c
code-n.o: code-n.c
	${CC} -c ${OPT} code-n.c
sfile.o: sfile.c sfile.h
	${CC} -c ${OPT} sfile.c

test1: test1.c wmain.c sfile.h code-n.o rk.o sfile.o
	${CC} ${OPT2} -o test1 test1.c wmain.c rk.o code-n.o sfile.o

jack-n: jack-n.c sfile.o sfile.h
	${CC} ${OPT} -o jack-n jack-n.c sfile.o -lm

clean:
	rm -rf *.o *~ mh-w-n test1 jack-n