diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-04-10 16:08:08 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-04-10 16:08:08 +0000 |
commit | cd19f6d867bbe3da36b30f9897aeb3b65e0eee08 (patch) | |
tree | 020cc282cd887dca93dbf617d54816a3669caf13 /apps/examples/sendmail | |
parent | dbbf70ac72fd2770a5999f116a29d780eae5ce3c (diff) | |
download | nuttx-cd19f6d867bbe3da36b30f9897aeb3b65e0eee08.tar.gz nuttx-cd19f6d867bbe3da36b30f9897aeb3b65e0eee08.tar.bz2 nuttx-cd19f6d867bbe3da36b30f9897aeb3b65e0eee08.zip |
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
Diffstat (limited to 'apps/examples/sendmail')
-rw-r--r-- | apps/examples/sendmail/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/apps/examples/sendmail/Makefile b/apps/examples/sendmail/Makefile index 6ee90208a..d1552ad34 100644 --- a/apps/examples/sendmail/Makefile +++ b/apps/examples/sendmail/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 . @@ -83,7 +87,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 |