Initial commit for version 2.0.x patch release
[OpenFOAM-2.0.x.git] / wmake / rules / linux64Clang / c
blob7d7d4f61a1bc410e3c4f9e51aca63b28f9f6d91f
1 .SUFFIXES: .c .h
3 cWARN        = -Wall
5 cc          = clang -m64
7 include $(RULES)/c$(WM_COMPILE_OPTION)
9 cFLAGS      = $(GFLAGS) $(cWARN) $(cOPT) $(cDBUG) $(LIB_HEADER_DIRS) -fPIC
11 ctoo        = $(WM_SCHEDULER) $(cc) $(cFLAGS) -c $$SOURCE -o $@
13 LINK_LIBS   = $(cDBUG)
15 LINKLIBSO   = $(cc) -shared
16 LINKEXE     = $(cc) -Xlinker --add-needed -Xlinker -z -Xlinker nodefs