"Fossies" - the Fresh Open Source Software Archive

Member "mapm_4.9.5a/WINDOWS_DOS/mkalltcc.bat" (21 Feb 2010, 1184 Bytes) of package /linux/misc/old/mapm-4.9.5a.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) MS DOS Batch source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 @echo off
    2 rem 
    3 rem ============================================================
    4 rem Creating MAPM.LIB with Borland's TURBO C++ 3.00 compiler
    5 rem ============================================================
    6 rem 
    7       del *.obj
    8       del mapm.lib
    9 rem
   10 rem (1) Compiles each map*.c and creates map*.obj:
   11 rem  
   12       for %%1 in (map*.c) do tcc -c -N -ml -O -G %%1
   13 rem 
   14 rem (2) Creates mapm.LIB:
   15 rem
   16       for %%1 in (map*.obj) do tlib /C /E mapm.lib +%%1
   17 rem
   18       del *.obj
   19       del *.bak
   20 rem 
   21 rem (3) Compiles and links validate.c, calc.c and primenum.c:
   22 rem 
   23       tcc -ml -O -N -G validate.c mapm.lib
   24       tcc -ml -O -N -G calc.c mapm.lib
   25       tcc -ml -O -N -G primenum.c mapm.lib
   26 rem 
   27 rem 
   28 rem ------------------------ Remarks ---------------------------
   29 rem 
   30 rem   (1) Some of the Turbo C++ 3.00 options are:
   31 rem 
   32 rem       -2      80286 Protected Mode Inst.
   33 rem       -Dxxx   Define macro (e.g., -DMSDOS )
   34 rem       -G      Generate for speed
   35 rem       -N      Check stack overflow 
   36 rem       -O      Optimize jumps
   37 rem       -c      Compile only
   38 rem       -ml     Set Large Memory Model          
   39 rem
   40 rem    
   41 rem   -------
   42 rem      Lenimar N. Andrade, lenimar@mat.ufpb.br
   43 rem