diff options
author | px4dev <px4@purgatory.org> | 2013-01-06 12:57:28 -0800 |
---|---|---|
committer | px4dev <px4@purgatory.org> | 2013-01-06 12:57:28 -0800 |
commit | 95aa95957107ff2b5209ef814ed09149ac7c5c43 (patch) | |
tree | 771b812f6a22115602008125cf46ca471a9fc41f /apps/mk | |
parent | e0cf9f943a946f655f0078943bad359197eb163f (diff) | |
parent | 4f3b17f53b120cd54112097f4217a90863013c1f (diff) | |
download | px4-firmware-95aa95957107ff2b5209ef814ed09149ac7c5c43.tar.gz px4-firmware-95aa95957107ff2b5209ef814ed09149ac7c5c43.tar.bz2 px4-firmware-95aa95957107ff2b5209ef814ed09149ac7c5c43.zip |
Merge commit '4f3b17f53b120cd54112097f4217a90863013c1f' into local/mathlib
Diffstat (limited to 'apps/mk')
-rw-r--r-- | apps/mk/app.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/mk/app.mk b/apps/mk/app.mk index 6c2fff900..1d8b0e44c 100644 --- a/apps/mk/app.mk +++ b/apps/mk/app.mk @@ -101,7 +101,9 @@ INCLUDES += $(APPDIR) ASRCS ?= $(wildcard $(SRCDIR)/*.S) CSRCS ?= $(wildcard $(SRCDIR)/*.c) +CHDRS ?= $(wildcard $(SRCDIR)/*.h) CXXSRCS ?= $(wildcard $(SRCDIR)/*.cpp) +CXXHDRS ?= $(wildcard $(SRCDIR)/*.hpp) # if APPNAME is not set, this is a library ifeq ($(APPNAME),) @@ -186,8 +188,8 @@ all: .built # depend: .depend .depend: $(MAKEFILE_LIST) $(SRCS) - @$(MKDEP) --dep-path . $(CC) -- $(CFLAGS) -- $(CSRCS) >Make.dep - @$(MKDEP) --dep-path . $(CXX) -- $(CXXFLAGS) -- $(CXXSRCS) >>Make.dep + @$(MKDEP) --dep-path . $(CC) -- $(CFLAGS) -- $(CSRCS) $(CHDRS) >Make.dep + @$(MKDEP) --dep-path . $(CXX) -- $(CXXFLAGS) -- $(CXXSRCS) $(CXXHDRS) >>Make.dep @touch $@ ifneq ($(APPNAME),) |