Tweaked windows build script
This commit is contained in:
@@ -27,9 +27,9 @@ else ifeq ($(shell uname), Linux)
|
|||||||
tar -C $(OUTDIR) -zcvf Tortuga-linux.tar client server ../rsc ../copyright.txt ../instructions.txt
|
tar -C $(OUTDIR) -zcvf Tortuga-linux.tar client server ../rsc ../copyright.txt ../instructions.txt
|
||||||
endif
|
endif
|
||||||
|
|
||||||
binary:
|
binary: $(OUTDIR)
|
||||||
ifeq ($(OS),Windows_NT)
|
ifeq ($(OS),Windows_NT)
|
||||||
copy /B /Y $(BINDIR) $(OUTDIR)
|
xcopy /Y $(BINDIR)\\*.dll $(OUTDIR)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
$(OUTDIR):
|
$(OUTDIR):
|
||||||
@@ -37,8 +37,8 @@ $(OUTDIR):
|
|||||||
|
|
||||||
clean:
|
clean:
|
||||||
ifeq ($(OS),Windows_NT)
|
ifeq ($(OS),Windows_NT)
|
||||||
del /s *.o *.a *.exe $(OUTDIR)\*.dll
|
del /S /Q *.o *.a *.exe $(OUTDIR)\*
|
||||||
rmdir $(OUTDIR)
|
rmdir /S /Q $(OUTDIR)
|
||||||
else ifeq ($(shell uname), Linux)
|
else ifeq ($(shell uname), Linux)
|
||||||
find . -type f -name '*.o' -exec rm -f -r -v {} \;
|
find . -type f -name '*.o' -exec rm -f -r -v {} \;
|
||||||
find . -type f -name '*.a' -exec rm -f -r -v {} \;
|
find . -type f -name '*.a' -exec rm -f -r -v {} \;
|
||||||
|
|||||||
Reference in New Issue
Block a user