version 1.20, 2001/01/08 05:26:47 |
version 1.22, 2003/05/14 07:09:47 |
|
|
# $OpenXM: OpenXM/src/k097/Makefile,v 1.19 2000/12/25 14:14:34 takayama Exp $ |
# $OpenXM: OpenXM/src/k097/Makefile,v 1.21 2003/01/15 00:11:08 takayama Exp $ |
# targets |
# targets |
# all |
# all |
# compile |
# compile |
Line 24 KHOME = $(OpenXM_HOME)/src/kan96xx |
|
Line 24 KHOME = $(OpenXM_HOME)/src/kan96xx |
|
LOAD_K_PATH ='"/usr/local/lib/k0/"' |
LOAD_K_PATH ='"/usr/local/lib/k0/"' |
LOAD_SM1_PATH2 ='"/this_directory_does_not_exists/"' |
LOAD_SM1_PATH2 ='"/this_directory_does_not_exists/"' |
## |
## |
LIBGMP=$(OpenXM_HOME)/lib/libgmp.a |
LIBGMP=-L$(OpenXM_HOME)/lib -lgmp |
## This line is for buggy linux-gmp. |
## This line is for buggy linux-gmp. |
## LIBGMP = $(GMP_HOME)/libgmp.a $(GMP_HOME)/mpn/libmpn.a |
## LIBGMP = $(GMP_HOME)/libgmp.a $(GMP_HOME)/mpn/libmpn.a |
EXTRALIB = |
EXTRALIB = |
|
|
$(KAN_HOME)/lookup.h : |
$(KAN_HOME)/lookup.h : |
(cd $(KAN_HOME); make lookup.h) |
(cd $(KAN_HOME); make lookup.h) |
|
|
|
|
|
ox_k0 : ox_k0.c k0 ox_k0.c sm1sm.c |
|
$(CC) ${STATIC_LINK_FLAG} $(FLAG) $(DDD) -I$(OpenXM_include) -I$(KAN_HOME) -o ox_k0 ox_k0.c sm1sm.c $(KXX) $(KAN_HOME)/kanlib.a $(LIBGMP) $(GC) $(EXTRALIB) |
|
|
########## |
########## |
## A sample to compilation: source is test0.c, output is test0 |
## A sample to compilation: source is test0.c, output is test0 |