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
@ -163,11 +163,19 @@ objects: $(OBJECTS) | silent
|
||||
.PHONY: libso
|
||||
libso: $(LIB)$(EXT_SO) | silent
|
||||
|
||||
ifeq ("$(WM_OSTYPE)","MSwindows")
|
||||
$(LIB)$(EXT_SO): $(OBJECTS)
|
||||
@$(WM_SCRIPTS)/makeTargetDir $(LIB)
|
||||
$(call QUIET_MESSAGE,ld,$(LIB)$(EXT_SO))
|
||||
$E $(LINKLIBSO) $(OBJECTS) -L$(LIB_PLATFORMS) \
|
||||
$(PROJECT_LIBS) $(LIB_LIBS) $(GLIB_LIBS) -o $(LIB)$(EXT_SO)
|
||||
else
|
||||
$(LIB)$(EXT_SO): $(OBJECTS)
|
||||
@$(WM_SCRIPTS)/makeTargetDir $(LIB)
|
||||
$(call QUIET_MESSAGE,ld,$(LIB)$(EXT_SO))
|
||||
$E $(LINKLIBSO) $(OBJECTS) -L$(LIB_PLATFORMS) \
|
||||
$(LIB_LIBS) $(GLIB_LIBS) -o $(LIB)$(EXT_SO)
|
||||
endif
|
||||
|
||||
.PHONY: lib
|
||||
lib: $(LIB).a | silent
|
||||
|
||||
Reference in New Issue
Block a user