Merge branch 'master' of ssh://opencfd@repo.or.cz/srv/git/OpenFOAM-1.6.x
[OpenFOAM-1.6.x.git] / wmake / rules / linuxGcc / c
blob8db5da10479013ce540c626897edb97c07e692d2
1 .SUFFIXES: .c .h
3 cWARN        = -Wall
5 cc          = gcc -m32
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 -z -Xlinker nodefs