From 93312902bb12ce02d194bace93024f394781d3b8 Mon Sep 17 00:00:00 2001 From: jthorn Date: Sat, 19 Jul 2003 16:31:27 +0000 Subject: 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 --- src/util/Makefile.standalone | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/util') 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 \ -- cgit v1.2.3