From 4b4814e89a7ce389f0b4769d129e68ba69bfcbe6 Mon Sep 17 00:00:00 2001 From: Kayne Ruse Date: Wed, 26 Aug 2015 14:09:47 +1000 Subject: [PATCH] Tweaked windows build script --- makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/makefile b/makefile index c259aac..4ffdebb 100644 --- a/makefile +++ b/makefile @@ -27,9 +27,9 @@ else ifeq ($(shell uname), Linux) tar -C $(OUTDIR) -zcvf Tortuga-linux.tar client server ../rsc ../copyright.txt ../instructions.txt endif -binary: +binary: $(OUTDIR) ifeq ($(OS),Windows_NT) - copy /B /Y $(BINDIR) $(OUTDIR) + xcopy /Y $(BINDIR)\\*.dll $(OUTDIR) endif $(OUTDIR): @@ -37,8 +37,8 @@ $(OUTDIR): clean: ifeq ($(OS),Windows_NT) - del /s *.o *.a *.exe $(OUTDIR)\*.dll - rmdir $(OUTDIR) + del /S /Q *.o *.a *.exe $(OUTDIR)\* + rmdir /S /Q $(OUTDIR) else ifeq ($(shell uname), Linux) find . -type f -name '*.o' -exec rm -f -r -v {} \; find . -type f -name '*.a' -exec rm -f -r -v {} \;