REM Compiling and linking using Lahey LF95 for Windows

lf95 postpm2.for -o0 -co -sav -trap doi -out postpm2.exe >cpl_postpm2.txt
lf95 postrm2.for -o0 -co -sav -trap doi -out postrm2.exe >cpl_postrm2.txt
lf95 sumpost.for -o0 -co -sav -trap doi -out sumpost.exe >cpl_sumpost.txt

del *.obj
del *.map

rem Switch settings ------------------------------
rem -o0             No optimization
rem -co             Display the compiler options that are used
rem -sav            Save local variables
rem -trap doi       Trap NDP divide-by-zero (d), overflow (o), and invalid operation (i) 
rem -out            Name the compiled executables to "postpm2.exe", "postrm2.exe", "sumpost.exe"
rem >               Send compiler screen output to file "cpl_postpm2.txt", "cpl_postrm2.txt", "cpl_sumpost.txt"
