summaryrefslogtreecommitdiff
path: root/apps/examples/usbstorage/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/usbstorage/Makefile')
-rw-r--r--apps/examples/usbstorage/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/examples/usbstorage/Makefile b/apps/examples/usbstorage/Makefile
index 4b6f36889..39957f141 100644
--- a/apps/examples/usbstorage/Makefile
+++ b/apps/examples/usbstorage/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 .