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
|
# to use stat (=timestamps) instead of inotify
|
||||||
fileMonitor.C
|
fileMonitor.C
|
||||||
|
|
||||||
ifdef SunOS64
|
ifeq "$(WM_ARCH)" "SunOS64"
|
||||||
dummyPrintStack.C
|
dummyPrintStack.C
|
||||||
else
|
else
|
||||||
printStack.C
|
printStack.C
|
||||||
|
|||||||
@ -66,7 +66,7 @@ primitives/Tensor/lists/symmTensorList.C
|
|||||||
primitives/Tensor/lists/tensorList.C
|
primitives/Tensor/lists/tensorList.C
|
||||||
|
|
||||||
primitives/Vector/complexVector/complexVector.C
|
primitives/Vector/complexVector/complexVector.C
|
||||||
ifndef $(WM_SP)
|
ifneq "$(WM_PRECISION_OPTION)" "SP"
|
||||||
primitives/Vector/floatVector/floatVector.C
|
primitives/Vector/floatVector/floatVector.C
|
||||||
primitives/Tensor/floatTensor/floatTensor.C
|
primitives/Tensor/floatTensor/floatTensor.C
|
||||||
endif
|
endif
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
# Needs ParMGridGen environment variable set. (see Allwmake script)
|
# Needs ParMGridGen environment variable set. (see Allwmake script)
|
||||||
|
|
||||||
TYPE_REAL =
|
TYPE_REAL =
|
||||||
ifndef $(WM_SP)
|
ifneq "$(WM_PRECISION_OPTION)" "SP"
|
||||||
TYPE_REAL = -DTYPE_REAL
|
TYPE_REAL = -DTYPE_REAL
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user