home *** CD-ROM | disk | FTP | other *** search
- # Just type "MAKE" or "MAKE Everything" to create the demo program. It
- # needs the TPC compiler the MS Fortran FL compiler and MS LINK on
- # the current path. For some reason I don't understand, this file doesn't
- # work with Microsoft's NMAKE.
-
- Everything: psample.exe fsample.ldr
- rem Type PSAMPLE to run demo
-
- # type "MAKE Clean" to clean up the directory after the demo
-
- Clean:
- erase psample.exe
- erase fsample.tpu
- erase fsample.ldr
- erase fsample.obj
-
- # Generic rules
-
- # Use environment variables PASOPTS and FORTOPTS to set compiler options.
- # Default options: /Gb - backwards compatibility of 5.1 with 5.0
- # /FPi- allow coprocessor emulation
-
- .for.ldr:
- FL /Gb /FPi $(FORTOPTS) $*.FOR calltp.obj /F 4000 /link $(LIBS)
- erase $*.ldr
- rename $*.exe $*.ldr
-
- .pas.exe:
- tpc $(PASOPTS) $< /M
-
- .pas.tpu:
- tpc $(PASOPTS) $< /M
-
- # Dependencies
-
- psample.exe: psample.pas fsample.pas fortlink.tpu
-
- fsample.ldr: fsample.for calltp.obj