Solaris 10 Updates:
Changed CXX_FLAGS to CFLAGS in a bunch of ext directories.
This commit is contained in:
parent
b23a49c1f2
commit
dc094b2338
5 changed files with 16 additions and 8 deletions
|
|
@ -25,7 +25,7 @@ all: @buildlib@/libcvode.a
|
|||
|
||||
COMPILER = @CC@
|
||||
|
||||
OPTS = -I../include @CXXFLAGS@ $(CXX_OPT)
|
||||
OPTS = -I../include @CFLAGS@ $(CXX_OPT)
|
||||
|
||||
OBJS = source/cvode.o source/cvdense.o source/dense.o source/cvband.o \
|
||||
source/band.o source/cvdiag.o source/cvspgmr.o source/spgmr.o \
|
||||
|
|
|
|||
|
|
@ -28,16 +28,19 @@ CC = @CC@
|
|||
# C++ compile flags
|
||||
CXX_FLAGS = @CXXFLAGS@ $(CXX_OPT)
|
||||
|
||||
# C compile flags
|
||||
CFLAGS = @CFLAGS@
|
||||
|
||||
# Local include files
|
||||
CXX_INCLUDES=-I../f2c_libs
|
||||
|
||||
# How to compile the dependency file
|
||||
.c.d:
|
||||
@CXX_DEPENDS@ $(CXX_FLAGS) $(CXX_INCLUDES) $*.c > $*.d
|
||||
@CXX_DEPENDS@ $(CFLAGS) $(CXX_INCLUDES) $*.c > $*.d
|
||||
|
||||
# How to compile a C file
|
||||
.c.o:
|
||||
@CC@ -c $< @DEFS@ $(CXX_FLAGS) $(CXX_INCLUDES)
|
||||
@CC@ -c $< @DEFS@ $(CFLAGS) $(CXX_INCLUDES)
|
||||
|
||||
|
||||
# -----------------------------------------------
|
||||
|
|
|
|||
|
|
@ -23,15 +23,18 @@ CC = @CC@
|
|||
# C++ compile flags
|
||||
CXX_FLAGS = @CXXFLAGS@
|
||||
|
||||
# C compile flags
|
||||
CFLAGS = @CFLAGS@
|
||||
|
||||
# Local include files
|
||||
CXX_INCLUDES=-I../f2c_libs
|
||||
|
||||
# How to compile the dependency file
|
||||
.c.d:
|
||||
@CXX_DEPENDS@ $(CXX_FLAGS) $(CXX_INCLUDES) $*.c > $*.d
|
||||
@CXX_DEPENDS@ $(CFLAGS) $(CXX_INCLUDES) $*.c > $*.d
|
||||
|
||||
.c.o:
|
||||
@CC@ -c $< $(CXX_FLAGS) $(CXX_INCLUDES)
|
||||
@CC@ -c $< $(CFLAGS) $(CXX_INCLUDES)
|
||||
|
||||
# -----------------------------------------------
|
||||
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ SHELL = /bin/sh
|
|||
do_ranlib = @DO_RANLIB@
|
||||
do_stripsymbols = @HAVE_STRIPSYMBOLS@
|
||||
|
||||
CFLAGS = @CXXFLAGS@ $(CXX_OPT)
|
||||
CFLAGS = @CFLAGS@ $(CXX_OPT)
|
||||
|
||||
# Destination f2c lib located in Cantera's build directory
|
||||
# -> Calling it ctf2c
|
||||
|
|
|
|||
|
|
@ -25,19 +25,21 @@ CC = @CC@
|
|||
# C++ compile flags
|
||||
CXX_FLAGS = @CXXFLAGS@ $(CXX_OPT)
|
||||
|
||||
CFLAGS = @CFLAGS@ $(CXX_OPT)
|
||||
|
||||
# Local include files
|
||||
CXX_INCLUDES=-I../f2c_libs
|
||||
|
||||
# How to compile the dependency file
|
||||
.c.d:
|
||||
@CXX_DEPENDS@ $(CXX_FLAGS) $(CXX_INCLUDES) $*.c > $*.d
|
||||
@CXX_DEPENDS@ $(CFLAGS) $(CXX_INCLUDES) $*.c > $*.d
|
||||
|
||||
.cpp.d:
|
||||
@CXX_DEPENDS@ $(CXX_FLAGS) $(CXX_INCLUDES) $*.cpp > $*.d
|
||||
|
||||
# How to compile a C file
|
||||
.c.o:
|
||||
@CC@ -c $< @DEFS@ $(CXX_FLAGS) $(CXX_INCLUDES)
|
||||
@CC@ -c $< @DEFS@ $(CFLAGS) $(CXX_INCLUDES)
|
||||
|
||||
# How to compile a Cpp file
|
||||
.cpp.o:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue