root/trunk/sam3/build.cmd

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