From cd19f6d867bbe3da36b30f9897aeb3b65e0eee08 Mon Sep 17 00:00:00 2001 From: patacongo Date: Sun, 10 Apr 2011 16:08:08 +0000 Subject: Changes for clean build of app/ directory with Windows toolchain git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3488 42af7a65-404d-4744-a932-0658087f49c3 --- apps/examples/usbserial/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'apps/examples/usbserial') diff --git a/apps/examples/usbserial/Makefile b/apps/examples/usbserial/Makefile index cd6e7599a..35c76ba89 100644 --- a/apps/examples/usbserial/Makefile +++ b/apps/examples/usbserial/Makefile @@ -48,7 +48,11 @@ COBJS = $(CSRCS:.c=$(OBJEXT)) SRCS = $(ASRCS) $(CSRCS) OBJS = $(AOBJS) $(COBJS) -BIN = $(APPDIR)/libapps$(LIBEXT) +ifeq ($(WINTOOL),y) + BIN = "${shell cygpath -w $(APPDIR)/libapps$(LIBEXT)}" +else + BIN = "$(APPDIR)/libapps$(LIBEXT)" +endif ROOTDEPPATH = --dep-path . @@ -82,7 +86,7 @@ depend: .depend clean: @rm -f *.o *~ .*.swp .built $(call CLEAN) - @$(MAKE) -f Makefile.host clean TOPDIR=$(TOPDIR) APPDIR=$(APPDIR) + @$(MAKE) -f Makefile.host clean TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" distclean: clean @rm -f Make.dep .depend -- cgit v1.2.3