diff --git a/fec/build-dos.bat b/fec/build-dos.bat index 02425ec..ecde577 100644 --- a/fec/build-dos.bat +++ b/fec/build-dos.bat @@ -6,9 +6,6 @@ if exist BUILD.OK del BUILD.OK if exist BUILD.FAIL del BUILD.FAIL if exist fec.exe del fec.exe if exist __wcl__.lnk del __wcl__.lnk -rem WCL writes test objects into the current directory. Remove all prior build -rem artifacts before the wildcard link so 32-bit test objects cannot enter the -rem 16-bit compiler executable. if exist *.obj del *.obj if "%WATCOM%"=="" set WATCOM=C:\DEVEL\WATCOMC @@ -30,17 +27,15 @@ wcl -q -za -wx -bt=dos -ml -k32768 -c -fo=m7.obj src\m7.c if errorlevel 1 goto build_fail wcl -q -za -wx -bt=dos -ml -k32768 -c -fo=own.obj src\own.c if errorlevel 1 goto build_fail -wcl -q -za -wx -bt=dos -ml -k32768 -c -fo=check.obj src\check.c +wcl -q -za -wx -bt=dos -ml -k32768 -c -fo=check.obj src\check_m7.c if errorlevel 1 goto build_fail wcl -q -za -wx -bt=dos -ml -k32768 -c -fo=lower.obj src\lower.c if errorlevel 1 goto build_fail -rem Use an unambiguous short object name for the emit_c source. -wcl -q -za -wx -bt=dos -ml -k32768 -c -fo=emitc.obj src\emit_c.c +rem Use an unambiguous short object name for the M7 emitter source. +wcl -q -za -wx -bt=dos -ml -k32768 -c -fo=emitc.obj src\emit_c_m7.c if errorlevel 1 goto build_fail wcl -q -za -wx -bt=dos -ml -k32768 -c -fo=driver.obj src\driver.c if errorlevel 1 goto build_fail -rem DOS command lines are limited to roughly 126 characters. All stale objects -rem were removed above, so the wildcard contains exactly this build's objects. wcl -q -za -wx -bt=dos -ml -k32768 -fe=fec.exe *.obj if errorlevel 1 goto build_fail if not exist fec.exe goto build_fail