mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
- /usr/bin/{gcc,g++} normally just symlinks to clang/clang++
and may have unknown default flags.
For a gcc toolchain, it would be better to use a homebrew
installation.
For these cases, the compiler will need to be specified with
version=.. in WM_COMPILE_CONTROL.
For example, with "version=14", to select gcc-14, g++-14 from the
homebrew installation.
- needs a slight hack for locating the FlexLexer.h header.
Added into src/OSspecific/POSIX similar to how it is handled
in src/OSspecific/MSwindows
CONFIG: add simple config/detection support for libumpire (Linux)
17 lines
418 B
Plaintext
17 lines
418 B
Plaintext
CPP = cpp -traditional-cpp $(GFLAGS)
|
|
|
|
include $(GENERAL_RULES)/standard
|
|
include $(GENERAL_RULES)/Gcc/openmp
|
|
|
|
ifneq (,$(findstring ~openmp,$(WM_COMPILE_CONTROL)))
|
|
include $(GENERAL_RULES)/no-openmp
|
|
endif
|
|
|
|
include $(DEFAULT_RULES)/c
|
|
include $(DEFAULT_RULES)/c++
|
|
|
|
# Shared library extension (with '.' separator)
|
|
EXT_SO = .dylib
|
|
|
|
# -----------------------------------------------------------------------------
|