-
Notifications
You must be signed in to change notification settings - Fork 4
/
build_w32bcc.bat
executable file
·43 lines (33 loc) · 1.06 KB
/
build_w32bcc.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
@rem build_w32bcc.bat
@echo off
rem This file builds and tests CCCC under the Borland Command line
rem C++ compiler.
rem Path to Microsoft Visual Studio standard edition release 6.0
set BCDIR=c:\Program Files\Borland\bcc55
if not exist "%BCDIR%\bin\bcc32.exe" goto no_bcc
PATH "%BCDIR%\bin";%PATH%
rem One day there I will do Borland Makefiles for ANTLR and DLG.
rem For the moment I will rely on versions precompiled under MSVC.
if not exist pccts\bin\antlr.exe goto no_pccts
if not exist pccts\bin\dlg.exe goto no_pccts
cd cccc
if exist *.obj del *.obj
if exist *.cpp del *.cpp
make -f w32bcc.mak
cd ..
cd test
make -f w32bcc.mak
cd ..
goto end
:no_bcc
echo This script expects Borland C++ command line compiler to be in
echo %VCDIR%\bin\bcc32.exe.
echo Please modify the script if the location is different.
goto end
:no_pccts
echo This script expects precompiled versions of PCCTS binaries
echo DLG and ANTLR to be in pccts\bin.
echo The CCCC package contains makefiles to build these under
echo MSVC, otherwise you can write and contribute makefiles for
echo BCC32.
:end