#! /bin/sh
# Copyright(c)'1994-2009 by The Givaro group
# This file is part of Givaro.
# Givaro is governed by the CeCILL-B license under French law
# and abiding by the rules of distribution of free software. 
# see the COPYRIGHT file for more details.


prefix=/infres/post/flori/sage-5.13/local
exec_prefix=${prefix}
includedir=${prefix}/include
libdir=/infres/post/flori/sage-5.13/local/lib

CXX = g++
AR  = ar

OPTFLAGS = -I/infres/post/flori/sage-5.13/local//include  -fPIC -I"/infres/post/flori/sage-5.13/local/include"
GMP_CFLAGS = -I/infres/post/flori/sage-5.13/local//include
GMP_LIBS   = -L/infres/post/flori/sage-5.13/local//lib -lgmpxx -lgmp

GIVARO_CXXFLAGS = -I${includedir}
GIVARO_LIBS  = -L${libdir} -lgivaro 

CXXFLAGS += ${OPTFLAGS} ${GIVARO_CXXFLAGS} ${GMP_CFLAGS}
LOADLIBES += ${GIVARO_LIBS} ${GMP_LIBS}

.SUFFIXES: .o .C

.C.o:
	${CXX}  -o $@ -c $<  ${CXXFLAGS} 
 
.C:
	${CXX}  -o $@ $<  ${CXXFLAGS}  ${LOADLIBES} 
