Updating conditional statements in Make/files to use environment variables and ifeq and ifneq
This commit is contained in:
@ -16,7 +16,7 @@ memInfo/memInfo.C
|
||||
# to use stat (=timestamps) instead of inotify
|
||||
fileMonitor.C
|
||||
|
||||
ifdef SunOS64
|
||||
ifeq "$(WM_ARCH)" "SunOS64"
|
||||
dummyPrintStack.C
|
||||
else
|
||||
printStack.C
|
||||
|
||||
@ -66,7 +66,7 @@ primitives/Tensor/lists/symmTensorList.C
|
||||
primitives/Tensor/lists/tensorList.C
|
||||
|
||||
primitives/Vector/complexVector/complexVector.C
|
||||
ifndef $(WM_SP)
|
||||
ifneq "$(WM_PRECISION_OPTION)" "SP"
|
||||
primitives/Vector/floatVector/floatVector.C
|
||||
primitives/Tensor/floatTensor/floatTensor.C
|
||||
endif
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
# Needs ParMGridGen environment variable set. (see Allwmake script)
|
||||
|
||||
TYPE_REAL =
|
||||
ifndef $(WM_SP)
|
||||
ifneq "$(WM_PRECISION_OPTION)" "SP"
|
||||
TYPE_REAL = -DTYPE_REAL
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user