home *** CD-ROM | disk | FTP | other *** search
/ QBasic & Borland Pascal & C / Delphi5.iso / C / Samples / CSAPE32.ARJ / EXAMPLES / MAIN.MAK < prev    next >
Text File  |  1991-03-09  |  890b  |  69 lines

  1. #.AUTODEPEND
  2.  
  3. #        *Translator Definitions*
  4. # MAIN = demopcx
  5.  
  6. CC = tcc +$(MAIN).CFG
  7. TASM = TASM
  8. TLINK = tlink
  9.  
  10.  
  11. #        *Implicit Rules*
  12. .c.obj:
  13.   $(CC) -c {$< }
  14.  
  15. .cpp.obj:
  16.   $(CC) -c {$< }
  17.  
  18. .asm.obj:
  19.   $(TASM) {$< }
  20.  
  21.  
  22. #        *List Macros*
  23.  
  24.  
  25. EXE_dependencies =  \
  26.   \$(MAIN).obj \
  27.   ..\lib\tplcscap.lib \
  28.   ..\lib\tplowl.lib
  29.  
  30. #        *Explicit Rules*
  31. $(MAIN).exe: $(MAIN).cfg $(EXE_dependencies)
  32.   $(TLINK) /v/x/c @&&|
  33. c:\tc\lib\c0l.obj+
  34. $(MAIN).obj
  35. $(MAIN),
  36. ..\lib\tplcscap.lib+
  37. ..\lib\tplowl.lib+
  38. c:\tc\lib\graphics.lib+
  39. c:\tc\lib\emu.lib+
  40. c:\tc\lib\mathl.lib+
  41. c:\tc\lib\cl.lib
  42. |
  43.  
  44.  
  45. #        *Individual File Dependencies*
  46. #$(MAIN).obj: $(MAIN).c
  47.  
  48. #        *Compiler Configuration File*
  49. $(MAIN).cfg: main.mak
  50.   copy &&|
  51. -ml
  52. -v
  53. -V
  54. -vi-
  55. -P
  56. -w-cpt
  57. -w-pia
  58. -w-rvl
  59. -w-eff
  60. -w-sus
  61. -w-rch
  62. -w-rpt
  63. -IC:\TC\INCLUDE;..\INCLUDE
  64. -LC:\TC\LIB
  65. -g255
  66. | $(MAIN).cfg
  67.  
  68.  
  69.