diff options
author | eschnett <eschnett@4825ed28-b72c-4eae-9704-e50c059e567d> | 2012-05-01 16:24:58 +0000 |
---|---|---|
committer | eschnett <eschnett@4825ed28-b72c-4eae-9704-e50c059e567d> | 2012-05-01 16:24:58 +0000 |
commit | 554038e86cb504e935e1e0ccbb12dec6246e98d6 (patch) | |
tree | c0fa80dfedf99669a94f53f441bfd5898684de63 | |
parent | 4da340e6d3cbcd213e76f23eba4ae00822ec1479 (diff) |
Define THORN_IS_IOHDF5 when building utilities
Define THORN_IS_IOHDF5 when building utilities so that CCTK_WARN etc.
can be used in debug mode.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5/trunk@259 4825ed28-b72c-4eae-9704-e50c059e567d
-rw-r--r-- | src/make.configuration.deps | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/make.configuration.deps b/src/make.configuration.deps index 08238ce..21f48ea 100644 --- a/src/make.configuration.deps +++ b/src/make.configuration.deps @@ -25,7 +25,7 @@ $(UTIL_DIR)/%: $(IOHDF5_BUILD_DIR)/%.o $(IOHDF5_BUILD_DIR)/%.o: $(IOHDF5_SRC_DIR)/%.c @echo Compiling $< if [ ! -d $(IOHDF5_BUILD_DIR) ]; then $(MKDIR) $(MKDIRFLAGS) $(IOHDF5_BUILD_DIR) ; fi - $(CC) $< $(IOHDF5_CFLAGS) -c -o $@ + $(CC) $< $(IOHDF5_CFLAGS) -DTHORN_IS_IOHDF5 -c -o $@ # linking rule for hdf5_convert_from_ieeeio @@ -38,7 +38,7 @@ $(UTIL_DIR)/hdf5_convert_from_ieeeio: $(IOHDF5_BUILD_DIR)/hdf5_convert_from_ieee $(IOHDF5_BUILD_DIR)/hdf5_convert_from_ieeeio.o: $(IOHDF5_SRC_DIR)/hdf5_convert_from_ieeeio.c @echo Compiling $< if [ ! -d $(IOHDF5_BUILD_DIR) ]; then $(MKDIR) $(MKDIRFLAGS) $(IOHDF5_BUILD_DIR) ; fi - $(CC) $< -DANSI $(IOHDF5_CFLAGS) $(INC_DIRS:%=-I%) -c -o $@ + $(CC) $< -DANSI $(IOHDF5_CFLAGS) $(INC_DIRS:%=-I%) -DTHORN_IS_IOHDF5 -c -o $@ # linking rule for hdf5_convert_from_sdf @@ -51,4 +51,4 @@ $(UTIL_DIR)/hdf5_convert_from_sdf: $(IOHDF5_BUILD_DIR)/hdf5_convert_from_sdf.o $(IOHDF5_BUILD_DIR)/hdf5_convert_from_sdf.o: $(IOHDF5_SRC_DIR)/hdf5_convert_from_sdf.c @echo Compiling $< if [ ! -d $(IOHDF5_BUILD_DIR) ]; then $(MKDIR) $(MKDIRFLAGS) $(IOHDF5_BUILD_DIR) ; fi - $(CC) $< $(IOHDF5_CFLAGS) $(INC_DIRS:%=-I%) -c -o $@ + $(CC) $< $(IOHDF5_CFLAGS) $(INC_DIRS:%=-I%) -DTHORN_IS_IOHDF5 -c -o $@ |