version 1.3, 2015/08/17 07:19:16 |
version 1.4, 2015/08/21 01:20:30 |
|
|
# $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.3 2015/08/17 07:19:16 noro Exp $ |
|
|
OpenXM_HOME=../.. |
OpenXM_HOME=../.. |
OpenXM_LIBDIR=../../lib |
OpenXM_LIBDIR=../../lib |
Line 12 CFLAGS = -g -Wall -finline-functions -D_POSIX_C_SOURCE |
|
Line 12 CFLAGS = -g -Wall -finline-functions -D_POSIX_C_SOURCE |
|
|
|
PARI_LIB = -lmpfr -lpari |
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) $(PARI_LIB) -lm |
|
|
PROG= ox_pari |
PROG= ox_pari |
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 |
|
|