Makefile: Allow OUTPUT to accept zero or more flags.
It should be useful for using a few future snapshot formats at the same time. Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
This commit is contained in:
parent
6217358c99
commit
9f2f07ba42
@ -68,7 +68,9 @@ FFLAGS += ${CPPPREFIX}-DNDIMS=${NDIMS}
|
||||
|
||||
# output data format
|
||||
#
|
||||
FFLAGS += ${CPPPREFIX}-D${OUTPUT}
|
||||
ifneq (,$(findstring HDF5,$(OUTPUT)))
|
||||
FFLAGS += ${CPPPREFIX}-DHDF5
|
||||
endif
|
||||
|
||||
# add module path to compiler options
|
||||
#
|
||||
|
Loading…
x
Reference in New Issue
Block a user