mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: add wmake rules for mingw (#1238)
This commit is contained in:
committed by
Andrew Heather
parent
07ec741e2a
commit
a54aff9d26
28
wmake/rules/linux64Mingw/c
Normal file
28
wmake/rules/linux64Mingw/c
Normal file
@ -0,0 +1,28 @@
|
||||
include $(GENERAL_RULES)/Gcc/c
|
||||
|
||||
cARCH = -m64
|
||||
|
||||
cc = x86_64-w64-mingw32-gcc
|
||||
|
||||
include $(RULES)/c$(WM_COMPILE_OPTION)
|
||||
|
||||
cFLAGS = $(cARCH) $(GFLAGS) $(cWARN) $(cOPT) $(cDBUG) $(LIB_HEADER_DIRS)
|
||||
|
||||
ctoo = $(WM_SCHEDULER) $(cc) $(cFLAGS) -c $< -o $@
|
||||
|
||||
LINK_LIBS = $(cDBUG)
|
||||
|
||||
LINKLIBSO = $(cc) $(cARCH) \
|
||||
-Wl,--output-def=$(LIB).def \
|
||||
-Wl,--out-implib,$(LIB).dll.a \
|
||||
-Wl,--no-undefined \
|
||||
-Wl,--enable-runtime-pseudo-reloc \
|
||||
-Wl,--enable-auto-import \
|
||||
-Wl,--enable-auto-image-base \
|
||||
-Wl,--strip-all \
|
||||
-shared
|
||||
|
||||
LINKEXE = $(cc) $(cARCH) \
|
||||
-Wl,--enable-auto-import \
|
||||
-Wl,--strip-all \
|
||||
-Wl,--force-exe-suffix
|
||||
Reference in New Issue
Block a user