"Fossies" - the Fresh Open Source Software Archive

Member "mapm_4.9.5a/WINDOWS_DOS/mkallmsc.bat" (21 Feb 2010, 1085 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     Build batch file for MAPM library using Micro$oft 
    4 rem     Visual C/C++ 6.0 under Win NT/9x
    5 rem
    6 rem     Note: run VCVARS32.BAT in /bin directory of VCPP first to set
    7 rem           the environment variables.
    8 rem 
    9 echo.
   10 echo Running build file for MAPM library with Visual CPP under Win NT/9x ...
   11 echo.
   12 rem
   13 rem
   14       del map*.obj
   15       del mapm.lib
   16 rem
   17 rem (1) Compiles each map*.c and creates map*.obj:
   18 rem
   19       cl /c /O2 /W3 /Zl map*.c
   20 rem
   21 rem
   22 rem (2) Creates MAPM.LIB:
   23 rem
   24       lib /OUT:mapm.lib map*.obj
   25 rem
   26       del map*.obj
   27 rem
   28 rem
   29 rem (3) Compiles and links validate.c, calc.c, primenum.c, and cpp_demo.cpp
   30 rem
   31 rem
   32       cl /c /O2 /ML calc.c
   33       link calc.obj mapm.lib
   34       del calc.obj
   35 rem
   36 rem
   37       cl /c /O2 /ML validate.c
   38       link validate.obj mapm.lib
   39       del validate.obj
   40 rem
   41 rem
   42       cl /c /O2 /ML primenum.c
   43       link primenum.obj mapm.lib
   44       del primenum.obj
   45 rem
   46 rem
   47       cl /c /O2 /ML cpp_demo.cpp
   48       link cpp_demo.obj mapm.lib
   49       del cpp_demo.obj
   50 rem
   51 rem
   52 rem -------
   53 rem      by M. Ring using 'mkalltcc.bat' as template
   54 rem