Initial commit for version 2.0.x patch release
[OpenFOAM-2.0.x.git] / wmake / rules / linuxmingw32 / c
blobc74ee742ac5de472a10b7367abac80f4c7fe84b8
1 .SUFFIXES: .c .h
3 cWARN        = -Wall
5 cc          = mingw32-gcc -m32
7 include $(RULES)/c$(WM_COMPILE_OPTION)
9 cFLAGS      = $(GFLAGS) $(cWARN) $(cOPT) $(cDBUG) $(LIB_HEADER_DIRS)
11 ctoo        = $(WM_SCHEDULER) $(cc) $(cFLAGS) -c $$SOURCE -o $@
13 LINK_LIBS   = $(cDBUG)
15 LINKLIBSO   = $(cc) -Wl,--output-def,$(LIB).def,--out-implib,$(LIB).a,--enable-auto-import -shared
16 LINKEXE     = $(cc) -Wl,--enable-auto-import,--force-exe-suffix