home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 12 / CD_ASCQ_12_0294.iso / maj / 535 / pas.mak < prev    next >
Makefile  |  1994-01-09  |  835b  |  44 lines

  1. # Pascal make file for Dialog Design's external translators
  2. # Usage:
  3. #     make -fpas
  4.  
  5. # Root directory, change as appropriate
  6. ROOT = C:\BP
  7.  
  8. # Compiler name, use either tpc or bpc
  9. TPC = tpc
  10.  
  11. # Unit path, where the System and Pascal units are
  12. UNITPATH = $(ROOT)\units;
  13.  
  14. # Temporary config file name in default directory
  15. CFG = $(TPC).cfg
  16.  
  17. # Compiler name, add ROOT\bin directory
  18. TPC = $(ROOT)\bin\$(TPC)
  19.  
  20.  
  21. #        *Explicit Rules*
  22. all: passrc1.exe passrc2.exe pasrsrc.exe delete
  23.  
  24. passrc1.exe: $(CFG)
  25.   $(TPC) /m  passrc1
  26.  
  27. passrc2.exe: $(CFG)
  28.   $(TPC) /m passrc2
  29.  
  30. pasrsrc.exe: $(CFG)
  31.   $(TPC) /m pasrsrc
  32.  
  33. delete:
  34.   del readscpt.tpu
  35.   del inplong.tpu
  36.   del $(CFG)
  37.  
  38. #        *Compiler Configuration File*
  39. $(CFG): pas.mak
  40.   copy &&|
  41. /$A-,B-,D-,E+,F-,G-,I+,L-,N-,O-,P-,Q-,R-,S-,T-,V-,X+
  42. /U$(UNITPATH)
  43. | $(CFG)
  44.