From 91d77b455375c2cb410ae981646f398de40175fc Mon Sep 17 00:00:00 2001 From: patacongo Date: Sat, 19 Mar 2011 16:54:35 +0000 Subject: Move netutils header files from include/net/uip to include/apps/netutils git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3399 42af7a65-404d-4744-a932-0658087f49c3 --- apps/Makefile | 8 +++++--- apps/vsn/Makefile | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'apps') diff --git a/apps/Makefile b/apps/Makefile index ce00bb667..7f95c5cd3 100644 --- a/apps/Makefile +++ b/apps/Makefile @@ -40,6 +40,8 @@ ifeq ($(WINTOOL),y) INCDIROPT = -w endif +APPDIR = ${shell pwd} + # Application Directories # SUBDIRS is the list of all directories containing Makefiles. It is used @@ -115,7 +117,7 @@ $(COBJS): %$(OBJEXT): %.c $(BUILTIN_APPS_BUILT): @for dir in $(BUILTIN_APPS_DIR) ; do \ - $(MAKE) -C $$dir TOPDIR="$(TOPDIR)" ; \ + $(MAKE) -C $$dir TOPDIR="$(TOPDIR)" APPDIR=$(APPDIR); \ done $(BIN): $(OBJS) $(BUILTIN_APPS_BUILT) @@ -131,13 +133,13 @@ $(BIN): $(OBJS) $(BUILTIN_APPS_BUILT) @touch $@ @for dir in $(BUILTIN_APPS_DIR) ; do \ rm -f $$dir/.depend ; \ - $(MAKE) -C $$dir TOPDIR="$(TOPDIR)" depend ; \ + $(MAKE) -C $$dir TOPDIR="$(TOPDIR)" APPDIR=$(APPDIR) depend ; \ done depend: .depend define MAKECLEAN - @(MAKE) -C $1 $2 TOPDIR="$(TOPDIR)" + @(MAKE) -C $1 $2 TOPDIR="$(TOPDIR)" APPDIR=$(APPDIR) endef clean: diff --git a/apps/vsn/Makefile b/apps/vsn/Makefile index 50aa42fcc..3dde8e605 100644 --- a/apps/vsn/Makefile +++ b/apps/vsn/Makefile @@ -43,7 +43,7 @@ all: nothing nothing: define DOMAKE - @(MAKE) -C $1 $2 TOPDIR="$(TOPDIR)" + @(MAKE) -C $1 $2 TOPDIR="$(TOPDIR) APPDIR=$(APPDIR)" endef depend: -- cgit v1.2.3