Merge /u/hjasak/foam-extend-3.1/ branch HrvojeJasak into nextRelease
[foam-extend-3.2.git] / wmake / rules / mingwGcc / c
bloba8e588f66f9fddb1225dbe48ab89c9f7e50636d4
1 .SUFFIXES: .c .h
3 cWARN        = -Wall
5 cc          = gcc
7 include $(RULES)/c$(WM_COMPILE_OPTION)
9 cFLAGS      = $(GFLAGS) $(cWARN) $(cOPT) $(cDBUG) $(LIB_HEADER_DIRS) -fPIC -Dmingw
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