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