summaryrefslogtreecommitdiff
path: root/apps/examples/nettest/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/nettest/Makefile')
-rw-r--r--apps/examples/nettest/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/examples/nettest/Makefile b/apps/examples/nettest/Makefile
index 7e17227ef..e9489a6be 100644
--- a/apps/examples/nettest/Makefile
+++ b/apps/examples/nettest/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_NETTEST_HOST=1
ifeq ($(CONFIG_EXAMPLE_NETTEST_SERVER),y)