diff options
author | jthorn <jthorn@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2003-07-19 16:31:27 +0000 |
---|---|---|
committer | jthorn <jthorn@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2003-07-19 16:31:27 +0000 |
commit | 93312902bb12ce02d194bace93024f394781d3b8 (patch) | |
tree | 8496cbb0772aa30676ff14b23891ecba4d11c441 /src/util | |
parent | 2c399cc0ac1e7cec96e03b792f362f7c1b37e11a (diff) |
add EXTRA_CFLAGS to make changing command-line -Dxxx options easier
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3314 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/Makefile.standalone | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util/Makefile.standalone b/src/util/Makefile.standalone index 4ded88a8..178ac142 100644 --- a/src/util/Makefile.standalone +++ b/src/util/Makefile.standalone @@ -16,6 +16,7 @@ CFLAGS := -Wall -W -Wno-unused -Wshadow -Winline -Wpointer-arith \ -Wbad-function-cast -Wcast-align -Wcast-qual \ -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations \ -pedantic -ansi +EXTRA_CFLAGS := CONFIG_DATA_DIR := $(firstword $(wildcard ../../configs/*/config-data)) LIB_DIR := $(dir $(CONFIG_DATA_DIR))lib @@ -26,7 +27,7 @@ MPI_LIBS := $(shell egrep '^MPI_LIBS' $(CONFIG_DATA_DIR)/make.extra.d # build outside cactus .PHONY : test-table-standalone test-table-standalone : - $(CC) $(CFLAGS) -g \ + $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -g \ -I. -I../include -I$(CONFIG_DATA_DIR) -L$(LIB_DIR) \ -DUTIL_TABLE_TEST \ -o test_Table \ |