diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-03-24 14:33:37 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-03-24 14:33:37 +0000 |
commit | 54c6729f43ce0bcb6679f3ea3c42f770ae289b93 (patch) | |
tree | b0be1ff8a8683295a17ea3041b33a31f7292da63 /makefiles/Makefile.subdir | |
parent | 8644d3146cf5dde9c5e7767bf8690387e59550ea (diff) | |
download | buildsystem-54c6729f43ce0bcb6679f3ea3c42f770ae289b93.tar.gz buildsystem-54c6729f43ce0bcb6679f3ea3c42f770ae289b93.tar.bz2 |
Makefile.subdir no longer auto-adds the directory to the include path.
Fix canned command sequences to ensure that $(CFLAGS)/$(TESTCFLAGS) is evaluated when the command is run, rather than at parse time.
Reorder setting up of TEST(CFLAGS|LDFLAGS) to ensure that any dependent libraries appear after our component. Also ensure these variables are reevaluated when used.
svn path=/trunk/tools/buildsystem/; revision=6839
Diffstat (limited to 'makefiles/Makefile.subdir')
-rw-r--r-- | makefiles/Makefile.subdir | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/makefiles/Makefile.subdir b/makefiles/Makefile.subdir index 7f8d27e..a4aa876 100644 --- a/makefiles/Makefile.subdir +++ b/makefiles/Makefile.subdir @@ -38,9 +38,6 @@ sp := $(sp).x dirstack_$(sp) := $(d) d := $(DIR) -# Manipulate include paths -CFLAGS := $(CFLAGS) -I$(d) - # Sources SRCS_$(d) := $(DIR_SOURCES) TEST_SRCS_$(d) := $(DIR_TEST_SOURCES) |