version 1.3, 2000/03/16 07:34:37 |
version 1.6, 2002/02/25 07:09:01 |
|
|
# $OpenXM: OpenXM/doc/oxlib/Makefile,v 1.2 2000/02/09 06:08:58 takayama Exp $ |
# $OpenXM: OpenXM/doc/oxlib/Makefile,v 1.5 2000/09/07 21:34:06 takayama Exp $ |
all : test1 test2 test3 |
all : test test1 test2 test3 |
|
## |
|
## make |
|
## make OpenXM_HOME=/usr/local/OpenXM |
CC=gcc |
CC=gcc |
LIBDIR=../../lib |
OpenXM_HOME=../../../OpenXM |
INCDIR=../../include |
LIBDIR=${OpenXM_HOME}/lib |
|
INCDIR=${OpenXM_HOME}/include |
|
|
ASIR_LIB=$(LIBDIR)/libasir.a |
ASIR_LIB=$(LIBDIR)/libasir.a |
ASIR_LIB_PARI_X=$(LIBDIR)/libasir_pari_X.a |
ASIR_LIB_PARI_X=$(LIBDIR)/libasir_pari_X.a |
|
|
test3 : test3.o |
test3 : test3.o |
gcc -o test3 test3.o $(ASIR_LIB) $(GC) $(EXTRALIB) -lm |
gcc -o test3 test3.o $(ASIR_LIB) $(GC) $(EXTRALIB) -lm |
|
|
|
## test : test.o |
|
test : test.o |
|
gcc -o test test.o $(ASIR_LIB) $(GC) $(EXTRALIB) -lm |
|
|
|
|
.c.o : |
.c.o : |
${CC} $(CFLAGS) -I$(INCLUDE) -c -g $< |
${CC} $(CFLAGS) -I$(INCLUDE) -c -g $< |
|
|
|
|
|
|
|
|
clean : |
clean : |
rm -f test1 test2 test3 *.o *~ *.a |
rm -f test test1 test2 test3 *.o *~ *.a a.out |