From 4f3b17f53b120cd54112097f4217a90863013c1f Mon Sep 17 00:00:00 2001 From: jgoppert Date: Sun, 6 Jan 2013 14:20:24 -0500 Subject: Added math library to build. --- apps/mk/app.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'apps/mk/app.mk') diff --git a/apps/mk/app.mk b/apps/mk/app.mk index 3948ef354..f1cbb87f0 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),) @@ -179,8 +181,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),) -- cgit v1.2.3