summaryrefslogtreecommitdiff
path: root/apps/examples/udp
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-04-10 16:08:08 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-04-10 16:08:08 +0000
commitcd19f6d867bbe3da36b30f9897aeb3b65e0eee08 (patch)
tree020cc282cd887dca93dbf617d54816a3669caf13 /apps/examples/udp
parentdbbf70ac72fd2770a5999f116a29d780eae5ce3c (diff)
downloadnuttx-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/udp')
-rw-r--r--apps/examples/udp/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/examples/udp/Makefile b/apps/examples/udp/Makefile
index 30a48baed..8a4458d87 100644
--- a/apps/examples/udp/Makefile
+++ b/apps/examples/udp/Makefile
@@ -54,7 +54,11 @@ TARG_COBJS = $(TARG_CSRCS:.c=$(OBJEXT))
TARG_SRCS = $(TARG_ASRCS) $(TARG_CSRCS)
TARG_OBJS = $(TARG_AOBJS) $(TARG_COBJS)
-TARG_BIN = $(APPDIR)/libapps$(LIBEXT)
+ifeq ($(WINTOOL),y)
+ TARG_BIN = "${shell cygpath -w $(APPDIR)/libapps$(LIBEXT)}"
+else
+ TARG_BIN = "$(APPDIR)/libapps$(LIBEXT)"
+endif
HOSTCFLAGS += -DCONFIG_EXAMPLE_UDP_HOST=1
ifeq ($(CONFIG_EXAMPLE_UDP_SERVER),y)