Skip to content

Commit 383c05a

Browse files
andrewbirdPerditionC
authored andcommitted
CI: Temporarily override country MAKE for TC2
Unfortunately the make supplied with Turbo C 2.01 doesn't like variables being passed in on the command line, so use GNU make instead. Note: As 'country' is a submodule it can't do `!include "../mkfiles/generic.mak"` as that would be outside its repository and would break the standalone build, hence the reason its DIRSEP and CP vars are set on the outside. As its 'production' target is used by the main makefile, there's no opportunity to hardcode those values to DOS specific ones there either.
1 parent 319bd34 commit 383c05a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build.bat

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,9 @@ echo.
131131
echo Process COUNTRY +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
132132
echo.
133133
cd ..\country
134-
%MAKE% DIRSEP=\ CP=copy production
134+
set TMAKE=%MAKE%
135+
if "%COMPILER%" == "TC2" set TMAKE=c:\bin\make
136+
%TMAKE% DIRSEP=\ CP=copy production
135137
if errorlevel 1 goto abort-cd
136138

137139
echo.

0 commit comments

Comments
 (0)