diff options
Diffstat (limited to 'apps/examples/nxflat')
-rw-r--r-- | apps/examples/nxflat/Makefile | 8 | ||||
-rw-r--r-- | apps/examples/nxflat/tests/Makefile | 2 |
2 files changed, 7 insertions, 3 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 \ diff --git a/apps/examples/nxflat/tests/Makefile b/apps/examples/nxflat/tests/Makefile index 31f254218..b5ecc041a 100644 --- a/apps/examples/nxflat/tests/Makefile +++ b/apps/examples/nxflat/tests/Makefile @@ -47,7 +47,7 @@ SYMTAB = $(TESTS_DIR)/symtab.h define DIR_template $(1)_$(2): - @$(MAKE) -C $(1) $(3) TOPDIR=$(TOPDIR) APPDIR=$(APPDIR) ROMFS_DIR=$(ROMFS_DIR) CROSSDEV=$(CROSSDEV) + @$(MAKE) -C $(1) $(3) TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" ROMFS_DIR="$(ROMFS_DIR)" CROSSDEV=$(CROSSDEV) endef all: $(ROMFS_HDR) $(ROMFS_DIRLIST) $(SYMTAB) |