commit 1cdb7ca09451f189fd88bf82e228505563ab9072
parent bd57a3368939d923b0c85fd2ed8ac9ad0671672c
Author: Erick Vásquez García <41172072+Erick194@users.noreply.github.com>
Date: Sat, 21 Nov 2020 16:00:23 -0600
Update MAKE_ROM.bat
Prevents the deletion of the file WESSLIB.o, which is executed in the command "del * .o" when executing the file "MAKE_ROM.bat".
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/doom64/MAKE_ROM.bat b/doom64/MAKE_ROM.bat
@@ -28,8 +28,14 @@ cd %mypath%
make PLATFORM=PARTNER
@echo off
+::remove the ".o" extension from the wesslib temporarily:
+ren "WESSLIB.o" "WESSLIB"
+
::remove_all:
del *.o
+
+::restore the ".o" extension of the wesslib:
+ren "WESSLIB" "WESSLIB.o"
@echo on
pause