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