version 1.3, 2015/08/17 07:19:16 |
version 1.5, 2015/09/27 00:12:31 |
|
|
# $OpenXM: OpenXM/src/ox_pari/Makefile,v 1.2 2015/08/06 09:15:32 noro Exp $ |
# $OpenXM: OpenXM/src/ox_pari/Makefile,v 1.4 2015/08/21 01:20:30 noro Exp $ |
|
|
OpenXM_HOME=../.. |
OpenXM_HOME=../.. |
OpenXM_LIBDIR=../../lib |
OpenXM_LIBDIR=../../lib |
OpenXM_LIB = -L$(OpenXM_LIBDIR) -lgmp -lox -lgc |
PARI_LIB = -lmpfr -lpari |
|
OpenXM_LIB = -L$(OpenXM_LIBDIR) -lox $(PARI_LIB) -lgmp -lgc |
INCLUDES = -I$(OpenXM_HOME)/include |
INCLUDES = -I$(OpenXM_HOME)/include |
PREFIX=${OpenXM_HOME} |
PREFIX=${OpenXM_HOME} |
DISTDIR=${OpenXM_HOME}/../OpenXM_dist |
DISTDIR=${OpenXM_HOME}/../OpenXM_dist |
|
|
MASTER_SITE=http://www.math.kobe-u.ac.jp/pub/OpenXM/misc/ |
MASTER_SITE=http://www.math.kobe-u.ac.jp/pub/OpenXM/misc/ |
CFLAGS = -g -Wall -finline-functions -D_POSIX_C_SOURCE |
CFLAGS = -g -Wall -finline-functions -D_POSIX_C_SOURCE |
|
|
PARI_LIB = -lmpfr -lpari |
|
|
|
PARIOBJ = ox_pari.o |
PARIOBJ = ox_pari.o convert.o pari_ftab.o |
LIBS = $(OpenXM_LIB) $(PARI_LIB) -lm |
|
|
|
|
LIBS = $(OpenXM_LIB) -lm |
|
|
PROG= ox_pari |
PROG= ox_pari |
|
|
all: build |
all: build |
Line 26 ox_pari: $(PARIOBJ) |
|
Line 27 ox_pari: $(PARIOBJ) |
|
|
|
ox_pari.o : ox_pari.c |
ox_pari.o : ox_pari.c |
$(CC) $(CFLAGS) $(INCLUDES) -c $< |
$(CC) $(CFLAGS) $(INCLUDES) -c $< |
|
|
|
convert.o : convert.c |
|
$(CC) $(CFLAGS) $(INCLUDES) -c $< |
|
|
|
pari_ftab.o : pari_ftab.c |
|
$(CC) $(CFLAGS) $(INCLUDES) -c $< |
|
|
|
|
libs : ox gc libgmp |
libs : ox gc libgmp |
|
|