root/trunk/txlib/build.cmd

Revision 1, 2.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
5if "%1" == "min" goto min
6
7call buildsub.cmd _txall_\os2t %2 %3 %4 %5
8if errorlevel 1 goto end
9
10REM end of default built targets
11if "%1" == ""    goto end
12if "%1" == "def" goto end
13
14call buildsub.cmd _txall_\dosd %2 %3 %4 %5
15if errorlevel 1 goto end
16call buildsub.cmd _txall_\dosr %2 %3 %4 %5
17if errorlevel 1 goto end
18call buildsub.cmd _txall_\dost %2 %3 %4 %5
19if errorlevel 1 goto end
20call buildsub.cmd _txall_\lind %2 %3 %4 %5
21if errorlevel 1 goto end
22call buildsub.cmd _txall_\linr %2 %3 %4 %5
23if errorlevel 1 goto end
24call buildsub.cmd _txall_\lint %2 %3 %4 %5
25if errorlevel 1 goto end
26call buildsub.cmd _txall_\os2d %2 %3 %4 %5
27if errorlevel 1 goto end
28call buildsub.cmd _txall_\os2r %2 %3 %4 %5
29if errorlevel 1 goto end
30call buildsub.cmd _txall_\wind %2 %3 %4 %5
31if errorlevel 1 goto end
32call buildsub.cmd _txall_\winr %2 %3 %4 %5
33if errorlevel 1 goto end
34call buildsub.cmd _txall_\wint %2 %3 %4 %5
35if errorlevel 1 goto end
36
37call buildsub.cmd _txmin_\dosr %2 %3 %4 %5
38if errorlevel 1 goto end
39call buildsub.cmd _txmin_\winr %2 %3 %4 %5
40if errorlevel 1 goto end
41call buildsub.cmd _txmin_\linr %2 %3 %4 %5
42if errorlevel 1 goto end
43call buildsub.cmd _txmin_\os2t %2 %3 %4 %5
44if errorlevel 1 goto end
45call buildsub.cmd _txmin_\dost %2 %3 %4 %5
46if errorlevel 1 goto end
47call buildsub.cmd _txmin_\wint %2 %3 %4 %5
48if errorlevel 1 goto end
49call buildsub.cmd _txmin_\lint %2 %3 %4 %5
50if errorlevel 1 goto end
51call buildsub.cmd _txmin_\os2d %2 %3 %4 %5
52if errorlevel 1 goto end
53call buildsub.cmd _txmin_\dosd %2 %3 %4 %5
54if errorlevel 1 goto end
55call buildsub.cmd _txmin_\wind %2 %3 %4 %5
56if errorlevel 1 goto end
57call buildsub.cmd _txmin_\lind %2 %3 %4 %5
58if errorlevel 1 goto end
59
60:min
61call buildsub.cmd _txmin_\os2r %2 %3 %4 %5
62if errorlevel 1 goto end
63goto end
64
65:help
66echo.
67echo Build one or more executable targets using a small 'makefile' in a 2nd
68echo level subdirectory for each target-type and a generic makefile.mif here
69echo.
70echo Usage:  %0  [def ^| all | min]  [clean]
71echo.
72echo Parameters:  def     Build trace (but not debug) for all platforms
73echo              all     Build all target-types, trace and debug
74echo              min     Build default MINimal-size target
75echo.
76echo              clean   Cleanup, delete all previously built stuff and temporaries
77echo.
78:end
Note: See TracBrowser for help on using the browser.