summaryrefslogtreecommitdiff
path: root/apps/examples/nxflat/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/nxflat/Makefile')
-rw-r--r--apps/examples/nxflat/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/apps/examples/nxflat/Makefile b/apps/examples/nxflat/Makefile
index c2fb246bc..d2b99eb13 100644
--- a/apps/examples/nxflat/Makefile
+++ b/apps/examples/nxflat/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 .
@@ -66,7 +70,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
headers:
- @$(MAKE) -C tests TOPDIR=$(TOPDIR) APPDIR=$(APPDIR) CROSSDEV=$(CROSSDEV)
+ @$(MAKE) -C tests TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" CROSSDEV=$(CROSSDEV)
.built: $(OBJS)
@( for obj in $(OBJS) ; do \