root/trunk/txt/build.cmd

Revision 1, 1.4 kB (checked in by jvw, 3 years ago)

Initial check-in for TxWin? version 1.02 sources

Line 
1@echo off
2rem Put your favourite target(s) first, it will be built by default
3
4if "%1" == "?" goto help
5
6call buildsub.cmd os2t %2 %3 %4 %5
7if errorlevel 1 goto end
8
9REM end of default built targets
10if "%1" == ""    goto end
11if "%1" == "def" goto end
12
13call buildsub.cmd dosd %2 %3 %4 %5
14if errorlevel 1 goto end
15call buildsub.cmd dosr %2 %3 %4 %5
16if errorlevel 1 goto end
17call buildsub.cmd dost %2 %3 %4 %5
18if errorlevel 1 goto end
19call buildsub.cmd lind %2 %3 %4 %5
20if errorlevel 1 goto end
21call buildsub.cmd linr %2 %3 %4 %5
22if errorlevel 1 goto end
23call buildsub.cmd lint %2 %3 %4 %5
24if errorlevel 1 goto end
25call buildsub.cmd os2d %2 %3 %4 %5
26if errorlevel 1 goto end
27call buildsub.cmd os2r %2 %3 %4 %5
28if errorlevel 1 goto end
29call buildsub.cmd wind %2 %3 %4 %5
30if errorlevel 1 goto end
31call buildsub.cmd winr %2 %3 %4 %5
32if errorlevel 1 goto end
33call buildsub.cmd wint %2 %3 %4 %5
34if errorlevel 1 goto end
35goto end
36
37:help
38echo.
39echo Build one or more executable targets using a small 'makefile' in a
40echo subdirectory for each target-type and a generic makefile.mif here
41echo.
42echo Usage:  %0  [def ^| all]  [clean]
43echo.
44echo Parameters:  def     Build trace (but not debug) for all platforms
45echo              all     Build all target-types, trace and debug
46echo.
47echo              clean   Cleanup, delete all previously built stuff and temporaries
48echo.
49:end
Note: See TracBrowser for help on using the browser.