mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
- replace (darwin) with (__APPLE__) - replace (solarisGcc) with (__sun__ && __GNUC__) - instead of 'darwin' -> '__APPLE' - cease with passing a -D$(WM_ARCH) define since this adds no useful additional information and isn't used anywhere. Reference http://nadeausoftware.com/articles/2012/01/c_c_tip_how_use_compiler_predefined_macros_detect_operating_system -- COMP: Extend size disambiguation on long (#1238)
15 lines
358 B
Plaintext
15 lines
358 B
Plaintext
CPP = cpp -traditional-cpp $(GFLAGS)
|
|
|
|
PROJECT_LIBS = -l$(WM_PROJECT) -ldl
|
|
|
|
include $(GENERAL_RULES)/standard
|
|
include $(GENERAL_RULES)/Clang/openmp
|
|
|
|
include $(DEFAULT_RULES)/c
|
|
include $(DEFAULT_RULES)/c++
|
|
|
|
# Shared library extension (with '.' separator)
|
|
EXT_SO = .dylib
|
|
|
|
# -----------------------------------------------------------------------------
|