diff options
author | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-02-27 00:44:18 +0000 |
---|---|---|
committer | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-02-27 00:44:18 +0000 |
commit | 5570d5651684307443b874bf2663d6b7354a5462 (patch) | |
tree | 47d777d4d9b90c0909400ee4d91f9a3cdd80550a /lib/make/make.thornlib | |
parent | 9808dc61761e6f3db3cc0aa653c2282dd10b2b22 (diff) |
Changed the way include files are handled slightly. This should
shorten some include paths, and allows us to add system include paths
like the path to mpi.h easily.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@352 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/make/make.thornlib')
-rw-r--r-- | lib/make/make.thornlib | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/make/make.thornlib b/lib/make/make.thornlib index 025bfc87..ea7d69ce 100644 --- a/lib/make/make.thornlib +++ b/lib/make/make.thornlib @@ -19,7 +19,10 @@ DIVIDER = $(DIVEL)$(DIVEL)$(DIVEL)$(DIVEL) include $(CONFIG)/make.config.defn # Add appropriate include lines -INC_DIRS += $(SRCDIR) $(SRCDIR)/include $(CONFIG) $(TOP)/bindings/include $(CCTK_HOME)/src/include +INC_DIRS = $(SYS_INC_DIRS) $(SRCDIR) $(SRCDIR)/include $(CONFIG) $(TOP)/bindings/include $(CCTK_HOME)/src/include + +# Allow subdirectories to inherit these include directories +export INC_DIRS EXTRA_DEFINES += THORN_IS_$(THORN) |