From 61358c1082b52d72477e6118b1f63ed6e3143704 Mon Sep 17 00:00:00 2001 From: nmlgc Date: Sun, 30 Aug 2020 23:49:45 +0200 Subject: [PATCH] [Build] 16-bit: Unconditionally rebuild everything by default MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Yup, let's completely avoid any of the benefits a Makefile might have had, because they're completely unreliable without spelling out every single #include. Such a trash technology, unsuited for pretty much anything it's touted for. Oh well, you can still call `maker` manually without the -B flag, if you know for a fact that you've only modified the dependencies currently listed. 🤷 At least this flag exists, and we don't have to add something like a dummy .OBJ to each and every list of dependencies, so that we then can force rebuilds by simply `touch`ing that one file… Part of P0001, funded by GhostPhanom. --- build16b.bat | 2 +- build32b.bat | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/build16b.bat b/build16b.bat index 5c526fb4..b740b60f 100755 --- a/build16b.bat +++ b/build16b.bat @@ -12,7 +12,7 @@ tcc >NUL if errorlevel 9009 goto no_tcc if errorlevel 216 goto 64_bit -maker +maker -B if errorlevel 9009 goto no_make if errorlevel 216 goto 64_bit goto eof diff --git a/build32b.bat b/build32b.bat index 52068ef9..c0122c4e 100755 --- a/build32b.bat +++ b/build32b.bat @@ -25,8 +25,6 @@ set CXX32FLAGS=%CXX32FLAGS% -O2 -v- -x- mkdir bin\Pipeline 2>NUL for /L %%i in (1,1,5) do mkdir bin\th0%%i 2>NUL -del /S *.obj - set BMP2ARR=bin\Pipeline\bmp2arr.exe %CXX32% %CXX32FLAGS% -nbin/Pipeline/ Pipeline\bmp2arr.c Pipeline\bmp2arrl.c