diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-11-13 20:24:30 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-11-13 20:24:30 +0000 |
commit | a0ebf07c2fc6e680fc440d52a0e477682cd641b7 (patch) | |
tree | 5cb43aa040cf2be867ecc2af6614546eeebdde66 /NxWidgets/libnxwidgets/Makefile | |
parent | c2325703f1ba2889eff8ad2ef43fb38c958931d7 (diff) | |
download | px4-nuttx-a0ebf07c2fc6e680fc440d52a0e477682cd641b7.tar.gz px4-nuttx-a0ebf07c2fc6e680fc440d52a0e477682cd641b7.tar.bz2 px4-nuttx-a0ebf07c2fc6e680fc440d52a0e477682cd641b7.zip |
Centralized the definition of the INCDIR script in tools/Config.mk
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5346 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'NxWidgets/libnxwidgets/Makefile')
-rw-r--r-- | NxWidgets/libnxwidgets/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/NxWidgets/libnxwidgets/Makefile b/NxWidgets/libnxwidgets/Makefile index 4673c1f98..880117a24 100644 --- a/NxWidgets/libnxwidgets/Makefile +++ b/NxWidgets/libnxwidgets/Makefile @@ -33,7 +33,6 @@ # ################################################################################# --include $(TOPDIR)/.config -include $(TOPDIR)/Make.defs # Control build verbosity @@ -87,8 +86,8 @@ ifeq ($(WINTOOL),y) INCDIROPT = -w endif -CFLAGS += ${shell $(TOPDIR)/tools/incdir.sh $(INCDIROPT) "$(CC)" $(NXWIDGETDIR)/include} -CXXFLAGS += ${shell $(TOPDIR)/tools/incdir.sh $(INCDIROPT) "$(CC)" $(NXWIDGETDIR)/include} +CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(NXWIDGETDIR)/include} +CXXFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(NXWIDGETDIR)/include} DEPPATH = --dep-path src VPATH = src |