diff options
Diffstat (limited to 'apps/examples/wget')
-rw-r--r-- | apps/examples/wget/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/apps/examples/wget/Makefile b/apps/examples/wget/Makefile index 018b54ceb..7d880bd1e 100644 --- a/apps/examples/wget/Makefile +++ b/apps/examples/wget/Makefile @@ -48,7 +48,11 @@ COBJS = $(CSRCS:.c=$(OBJEXT)) SRCS = $(ASRCS) $(CSRCS) OBJS = $(AOBJS) $(COBJS) -BIN = $(APPDIR)/libapps$(LIBEXT) +ifeq ($(WINTOOL),y) + BIN = "${shell cygpath -w $(APPDIR)/libapps$(LIBEXT)}" +else + BIN = "$(APPDIR)/libapps$(LIBEXT)" +endif ROOTDEPPATH = --dep-path . @@ -82,7 +86,7 @@ depend: .depend clean: @rm -f *.o *~ .*.swp .built $(call CLEAN) - @make -f Makefile.host clean TOPDIR=$(TOPDIR) APPDIR=$(APPDIR) + @make -f Makefile.host clean TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" distclean: clean @rm -f Make.dep .depend |