home *** CD-ROM | disk | FTP | other *** search
- # =================================================================
- # This is an example of a complex project file. It is a slightly
- # modified duplicate of the project file used to create UINST.EXE
- # =================================================================
-
- # -----------------------------------------------------------------
- # First define the directories where the various file types are
- # held. It is assumed that the compilers and assemblers are
- # configured to find their support files.
- # -----------------------------------------------------------------
- #VAR asm=c:\pascal\asm\
- #VAR obj=c:\pascal\obj\
- #VAR unit=c:\pascal\unit\
- #VAR main=c:\pascal\
- #VAR inc=c:\pascal\include
-
- # -----------------------------------------------------------------
- # Now define the syntax of each command used
- # -----------------------------------------------------------------
-
- #VAR tasm=assemble /m $(asm)%N %1
-
- #IFDEF debug
- #VAR tpc=compile /v /ddebug %B%N
- #ELSE
- #VAR tpc=compile %B%N
- #ENDIF
-
- # -----------------------------------------------------------------
- # Inference rules
- # -----------------------------------------------------------------
-
- .OBJ.ASM
- $(tasm)
-
- .TPU.PAS
- $(tpc)
-
- # -----------------------------------------------------------------
- # The actual dependency checks follow
- # -----------------------------------------------------------------
-
- $(unit)ERRORS.TPU : %B%N.pas
-
- $(unit)SINST.TPU : %B%N.pas
-
- $(obj)ESCSEQ.OBJ : $(asm)%N.asm
-
- $(unit)ESCSEQ.TPU : %B%N.pas $(obj)%N.obj
-
- $(obj)SEARCH.OBJ : $(asm)%N.asm
-
- $(unit)EDITOOLS.TPU : %B%N.pas $(unit)sinst.tpu $(unit)escseq.tpu +
- $(obj)search.obj
-
- $(obj)IKEYS.OBJ : $(asm)%N.asm $(asm)cmds.def
-
- $(main)UINST.EXE %B%N.pas $(unit)errors.tpu $(unit)editools.tpu +
- $(inc)cmds.inc $(inc)ivars.inc $(inc)ikey.inc +
- $(obj)ikeys.obj $(inc)optinst.inc $(inc)sortacg.inc +
- $(inc)ihelp.inc
- $(tpc)
-