From 3c23827c96debe0c1313ce8e3b8ccc2fe9e1a05b Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Sun, 28 Feb 2016 12:05:16 +0100 Subject: made makefile executable without gnu tools (nw) --- makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'makefile') diff --git a/makefile b/makefile index 67d8ec09854..715584712a0 100644 --- a/makefile +++ b/makefile @@ -754,7 +754,7 @@ ifeq (posix,$(SHELLTYPE)) COPY = $(SILENT) cp -fR "$(1)" "$(2)" else MKDIR = $(SILENT) mkdir "$(subst /,\\,$(1))" 2> nul || exit 0 - COPY = $(SILENT) copy /Y "$(subst /,\\,$(1))" "$(subst /,\\,$(2))" + COPY = $(SILENT) copy /Y "$(subst /,\\,$(1))" "$(subst /,\\,$(2))" > 2> nul || exit 0 endif GENDIR = $(BUILDDIR)/generated @@ -1350,7 +1350,7 @@ generate: \ $(GENDIR)/includes/SDL2: -$(call MKDIR,$@) - $(SILENT)cp -fR 3rdparty/SDL2/include/* $(GENDIR)/includes/SDL2/. + -$(call COPY,3rdparty/SDL2/include,$(GENDIR)/includes/SDL2) $(GENDIR)/%.lh: $(SRC)/%.lay scripts/build/file2str.py | $(GEN_FOLDERS) @echo Converting $<... -- cgit v1.2.3