9d39b30c49
--HG-- branch : macMerge rename : wmake/rules/darwinIntel64/X => wmake/rules/darwinIntel/X rename : wmake/rules/darwinIntel64/c => wmake/rules/darwinIntel/c rename : wmake/rules/darwinIntel64/c++ => wmake/rules/darwinIntel/c++ rename : wmake/rules/darwinIntel64/c++Debug => wmake/rules/darwinIntel/c++Debug rename : wmake/rules/darwinIntel64/c++Opt => wmake/rules/darwinIntel/c++Opt rename : wmake/rules/darwinIntel64/c++Prof => wmake/rules/darwinIntel/c++Prof rename : wmake/rules/darwinIntel64/cDebug => wmake/rules/darwinIntel/cDebug rename : wmake/rules/darwinIntel64/cOpt => wmake/rules/darwinIntel/cOpt rename : wmake/rules/darwinIntel64/cProf => wmake/rules/darwinIntel/cProf rename : wmake/rules/darwinIntel64/general => wmake/rules/darwinIntel/general rename : wmake/rules/darwinIntel64/mplib => wmake/rules/darwinIntel/mplib rename : wmake/rules/darwinIntel64/mplibOPENMPI => wmake/rules/darwinIntel/mplibOPENMPI rename : wmake/rules/darwinIntel64/mplibSYSTEMOPENMPI => wmake/rules/darwinIntel/mplibSYSTEMOPENMPI
22 lines
771 B
Text
22 lines
771 B
Text
.SUFFIXES: .C .cxx .cc .cpp
|
|
|
|
c++WARN = -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast
|
|
|
|
CC = g++ $(WM_CXXFLAGS)
|
|
|
|
include $(RULES)/c++$(WM_COMPILE_OPTION)
|
|
|
|
ptFLAGS = -DNoRepository -ftemplate-depth-40
|
|
|
|
c++FLAGS = $(GFLAGS) $(c++WARN) $(c++OPT) $(c++DBUG) $(ptFLAGS) $(LIB_HEADER_DIRS) -fPIC -Ddarwin
|
|
|
|
Ctoo = $(WM_SCHEDULER) $(CC) $(c++FLAGS) -c $$SOURCE -o $@
|
|
cxxtoo = $(Ctoo)
|
|
cctoo = $(Ctoo)
|
|
cpptoo = $(Ctoo)
|
|
|
|
LINK_LIBS = $(c++DBUG) -lpthread
|
|
|
|
LINKLIBSO = $(CC) $(c++FLAGS) -lpthread -dynamiclib -undefined dynamic_lookup
|
|
# LINKEXE = $(CC) $(c++FLAGS) -lpthread -L$(FOAM_LIBBIN) -lOpenFOAM -L$(FOAM_MPI_LIBBIN) -lPstream
|
|
LINKEXE = $(CC) $(c++FLAGS) -lpthread -L$(FOAM_MPI_LIBBIN) -lPstream
|