2 REM *****************************************************************
4 REM * (c) Copyright 1992-1994 STAR DIVISION
5 REM * Beschreibung: Uebersetzt aktuelle Version
6 REM * Aufruf: MAKE [Option1 .. OptionN]
7 REM * Optionen: PRODUCT - Product-Version (FULL)
8 REM * DEMO - Product-Version (DEMO)
9 REM * DEPEND - Depend-Listen erzeugen
10 REM * OPTIMIZE - Version mit Optimierung
11 REM * DEBUG - Version mit Debuginformationen
12 REM * PROFILE - Version fuer Profiling
13 REM * DBGUITL - Version mit Assertions
14 REM * ESO: PCH - Precompiled Header verwenden
15 REM *****************************************************************
17 IF "%1" == "" goto Next
19 set STEMPFILE=%temp%\temp.mak
21 set MAKECMD=@%STEMPFILE%
23 REM *** Parameter parsen ***
26 IF "%1" == "" goto Next
28 IF "%1" == "product" echo product=full >>%STEMPFILE%
29 IF "%1" == "Product" echo product=full >>%STEMPFILE%
30 IF "%1" == "PRODUCT" echo product=full >>%STEMPFILE%
32 IF "%1" == "demo" echo product=demo >>%STEMPFILE%
33 IF "%1" == "Demo" echo product=demo >>%STEMPFILE%
34 IF "%1" == "DEMO" echo product=demo >>%STEMPFILE%
36 IF "%1" == "depend" echo depend=true >>%STEMPFILE%
37 IF "%1" == "Depend" echo depend=true >>%STEMPFILE%
38 IF "%1" == "DEPEND" echo depend=true >>%STEMPFILE%
40 IF "%1" == "optimize" echo optimize=true >>%STEMPFILE%
41 IF "%1" == "Optimize" echo optimize=true >>%STEMPFILE%
42 IF "%1" == "OPTIMIZE" echo optimize=true >>%STEMPFILE%
44 IF "%1" == "debug" echo debug=true >>%STEMPFILE%
45 IF "%1" == "Debug" echo debug=true >>%STEMPFILE%
46 IF "%1" == "DEBUG" echo debug=true >>%STEMPFILE%
48 IF "%1" == "profile" echo product=full profile=true >>%STEMPFILE%
49 IF "%1" == "Profile" echo product=full profile=true >>%STEMPFILE%
50 IF "%1" == "PROFILE" echo product=full profile=true >>%STEMPFILE%
52 IF "%1" == "dbgutil" echo dbgutil=true >>%STEMPFILE%
53 IF "%1" == "Dbgutil" echo dbgutil=true >>%STEMPFILE%
54 IF "%1" == "DBGUTIL" echo dbgutil=true >>%STEMPFILE%
56 IF "%1" == "seg" echo product=full seg=true >>%STEMPFILE%
57 IF "%1" == "Seg" echo product=full seg=true >>%STEMPFILE%
58 IF "%1" == "SEG" echo product=full seg=true >>%STEMPFILE%
60 IF "%1" == "tcv" echo product=full tcv=-2000 >>%STEMPFILE%
61 IF "%1" == "tcv" echo product=full tcv=-2000 >>%STEMPFILE%
62 IF "%1" == "TCV" echo product=full tcv=-2000 >>%STEMPFILE%
64 IF "%1" == "siz" echo product=full siz=true >>%STEMPFILE%
65 IF "%1" == "Siz" echo product=full siz=true >>%STEMPFILE%
66 IF "%1" == "SIZ" echo product=full siz=true >>%STEMPFILE%
68 IF "%1" == "pch" echo prjpch=true >>%STEMPFILE%
69 IF "%1" == "Pch" echo prjpch=true >>%STEMPFILE%
70 IF "%1" == "PCH" echo prjpch=true >>%STEMPFILE%
72 IF "%1" == "-i" echo -i >>%STEMPFILE%
73 IF "%1" == "-I" echo -i >>%STEMPFILE%
79 REM *** Kommando setzen ***
80 SET STREECMD=nmake %MAKECMD%
82 REM *** Kommando ausfuehren ***
83 echo ******************************************************
84 echo MAKE - (c) 1992-1994 STAR DIVISION
87 REM *** Aufraeumen ***
88 IF NOT "%STEMPFILE%" == "" del %STEMPFILE%