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/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/apps/examples/udp/Makefile b/apps/examples/udp/Makefile
index 0aa2aaa09..2f7d49322 100644
--- a/apps/examples/udp/Makefile
+++ b/apps/examples/udp/Makefile
@@ -54,10 +54,14 @@ TARG_COBJS = $(TARG_CSRCS:.c=$(OBJEXT))
TARG_SRCS = $(TARG_ASRCS) $(TARG_CSRCS)
TARG_OBJS = $(TARG_AOBJS) $(TARG_COBJS)
+ifeq ($(CONFIG_WINDOWS_NATIVE),y)
+ TARG_BIN = ..\..\libapps$(LIBEXT)
+else
ifeq ($(WINTOOL),y)
- TARG_BIN = "${shell cygpath -w $(APPDIR)/libapps$(LIBEXT)}"
+ TARG_BIN = ..\\..\\libapps$(LIBEXT)
else
- TARG_BIN = "$(APPDIR)/libapps$(LIBEXT)"
+ TARG_BIN = ../../libapps$(LIBEXT)
+endif
endif
HOSTCFLAGS += -DCONFIG_EXAMPLES_UDP_HOST=1