summaryrefslogtreecommitdiff
path: root/apps/examples/udp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/udp/Makefile')
-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)