[vtkusers] makefiles

Stefano Perticoni stperti at infinito.it
Mon Jan 29 09:27:27 EST 2001


Hi
Assume makefiles are included by another in the main() dir.
Also assume the RedHat makefile is correct couse it compiles.
Why the RedHat  works while the Mandrake doesn't ?
Paths are different cause i use redhat at work and mandrake at home.
Thank you,Stefano

*******************RED HAT 6.1***************************
CCC   = g++
CCCFLAGS = -a -gstabs  -DTEST_ALL '-DCOMPLEX=complex<double>' -Dappend_

LDFLAGS  = /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/libg2c.a \
    $(AZTEC_DIR)/lib/libaztec.a

AZ_LIBS         = -L$(AZTEC_DIR)/lib -laztec -lm

HASRANLIB       = t

LIFEV_DIR   = $(HOME)/fem_Life_5/Software

SPARSELIB_DIR = $(LIFEV_DIR)/lib/SparseLib++/sp1_5c
IML_DIR     = $(LIFEV_DIR)/lib/IML++
AZTEC_DIR = $(HOME)/aztec

LIB_CPP1 = /usr/include/g++/
LIB_CPP2 = /usr/lib/gcc-lib/i686-pc-linux-gnu/pgcc-2.91.66/include
LIB_CPP3 = /usr/include/g++-2/

INCLUDES    =  -I$(LIFEV_DIR)/include/mesh \
  -I$(LIFEV_DIR)/include/fe   \
  -I$(LIFEV_DIR)/include/util \
                -I/usr/include/g++          \
  -I/usr/lib/gcc-lib/i686-pc-linux-gnu/pgcc-2.91.66/include \
  -I$(SPARSELIB_DIR)/include \
  -I$(SPARSELIB_DIR)/mv/include \
                -I$(AZTEC_DIR)/lib \
  -I$(IML_DIR)  \
  -I$(LIB_CPP1) \
  -I$(LIB_CPP2) \
  -I$(LIB_CPP3)

OBJ_EXT     = o
LIB_EXT     = a
EXE_EXT     =

.SUFFIXES: .c .cc .o

.cc.o:
 $(CCC) $(CCCFLAGS) $(INCLUDES) -c $<

.c.o:
 $(CC) $(CFLAGS) $(INCLUDES) -c $<

.f.o:
 $(F77)  -c $<
*********************MANDRAKE 7.2**************************
CCC   = g++
CCCFLAGS = -a -gstabs  -Wall -DTEST_ALL
'-DCOMPLEX=complex<double>' -Dappend_

LDFLAGS  = /usr/lib/gcc-lib/i586-mandrake-linux/egcs-2.91.66/libg2c.a \
                  $(AZTEC_DIR)/lib/libaztec.a

AZ_LIBS         = -L$(AZTEC_DIR)/lib -laztec -lm

HASRANLIB       = t

LIFEV_DIR   = $(HOME)/Software

SPARSELIB_DIR = $(LIFEV_DIR)/lib/SparseLib++/sp1_5c
IML_DIR     = $(LIFEV_DIR)/lib/IML++
AZTEC_DIR = $(HOME)/aztec

LIB_CPP1 = /usr/include/g++/
LIB_CPP2 = /usr/lib/gcc-lib/i586-mandrake-linux/egcs-2.91.66/include/
LIB_CPP3 = /usr/include/g++-2/

INCLUDES    =  -I$(LIFEV_DIR)/include/mesh \
  -I$(LIFEV_DIR)/include/fe   \
  -I$(LIFEV_DIR)/include/util \
                -I/usr/include/g++          \
  -I/usr/lib/gcc-lib/i586-mandrake-linux/egcs-2.91.66/include\
  -I$(SPARSELIB_DIR)/include \
  -I$(SPARSELIB_DIR)/mv/include \
                -I$(AZTEC_DIR)/lib \
  -I$(IML_DIR)  \
  -I$(LIB_CPP1) \
  -I$(LIB_CPP2) \
  -I$(LIB_CPP3)

OBJ_EXT     = o
LIB_EXT     = a
EXE_EXT     =

.SUFFIXES: .c .cc .o

.cc.o:
 $(CCC) $(CCCFLAGS) $(INCLUDES) -c $<

.c.o:
 $(CC) $(CFLAGS) $(INCLUDES) -c $<

.f.o:
 $(F77)  -c $<
**************************************************************






More information about the vtkusers mailing list