From 333b9449c02c242229449e8a35023d740f2e93f7 Mon Sep 17 00:00:00 2001 From: patacongo Date: Mon, 12 Nov 2012 15:22:27 +0000 Subject: Changes to get a clean ez80 build using the ZDS 5.1.1 toolchain git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5341 42af7a65-404d-4744-a932-0658087f49c3 --- apps/examples/udp/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'apps/examples/udp/Makefile') 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 -- cgit v1.2.3