db7fac3f24
git-svn-id: https://openfoam-extend.svn.sourceforge.net/svnroot/openfoam-extend/trunk/Core/OpenFOAM-1.5-dev@1731 e4e07f05-0c2f-0410-a05a-b8ba57e0c909
16 lines
387 B
Text
16 lines
387 B
Text
.SUFFIXES: .c .h
|
|
|
|
cWARN = -Wall
|
|
|
|
cc = gcc -ggdb
|
|
|
|
include $(RULES)/c$(WM_COMPILE_OPTION)
|
|
|
|
cFLAGS = $(GFLAGS) $(cWARN) $(cOPT) $(cDBUG) $(LIB_HEADER_DIRS) -fPIC
|
|
|
|
ctoo = $(WM_CC_DRIVER) $(cc) $(cFLAGS) -c $$SOURCE -o $@
|
|
|
|
LINK_LIBS = $(cDBUG)
|
|
|
|
LINKLIBSO = $(cc) -dynamiclib -flat_namespace -undefined suppress
|
|
LINKEXE = $(cc) -Xlinker -z -Xlinker nodefs
|