home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 9 Archive / 09-Archive.zip / unarj.zip / src / makefile.bcc < prev    next >
Makefile  |  1996-11-11  |  2KB  |  90 lines

  1. #=============================================================
  2. #
  3. #    ARJ.MAK - Makefile for project D:\WORK\ARJ\ARJ.PRJ
  4. #        Created on 10/05/97 at 01:44
  5. #
  6. #=============================================================
  7.  
  8. .AUTODEPEND
  9.  
  10. #=============================================================
  11. #        Translator Definitions
  12. #=============================================================
  13. CC = bcc +ARJ.CFG
  14. TASM = tasm.exe
  15. TLIB = tlib.exe
  16. TLINK = tlink
  17. RC = brcc.exe
  18. RB = rc.exe
  19. LIBPATH = C:\LANGS\BCOS2\LIB
  20. INCLUDEPATH = C:\LANGS\BCOS2\INCLUDE
  21.  
  22.  
  23. #=============================================================
  24. #        Implicit Rules
  25. #=============================================================
  26. .c.obj:
  27.   $(CC) -c {$< }
  28.  
  29. .cpp.obj:
  30.   $(CC) -c {$< }
  31.  
  32. .asm.obj:
  33.   $(TASM) -Mx $*.asm,$*.obj
  34.  
  35. .rc.res:
  36.   $(RC) -r $*.rc
  37.  
  38. #=============================================================
  39. #        List Macros
  40. #=============================================================
  41.  
  42.  
  43. EXE_DEPENDENCIES =  \
  44.  unarj.obj \
  45.  environ.obj \
  46.  decode.obj
  47.  
  48. #=============================================================
  49. #        Explicit Rules
  50. #=============================================================
  51. arj.exe: arj.cfg $(EXE_DEPENDENCIES)
  52.   $(TLINK) /v /x /Toe /ai /L$(LIBPATH) @&&|
  53. C:\LANGS\BCOS2\LIB\C02.OBJ+
  54. unarj.obj+
  55. environ.obj+
  56. decode.obj
  57. arj
  58.         # no map file
  59. C:\LANGS\BCOS2\LIB\C2MTI.LIB+
  60. C:\LANGS\BCOS2\LIB\OS2.LIB
  61.  
  62. |
  63.  
  64.  
  65. #=============================================================
  66. #        Individual File Dependencies
  67. #=============================================================
  68. UNARJ.obj: arj.cfg UNARJ.C 
  69.  
  70. ENVIRON.obj: arj.cfg ENVIRON.C 
  71.  
  72. DECODE.obj: arj.cfg DECODE.C 
  73.  
  74. #=============================================================
  75. #        Compiler Configuration File
  76. #=============================================================
  77. arj.cfg: arj.mak
  78.   copy &&|
  79. -L$(LIBPATH)
  80. -I$(INCLUDEPATH)
  81. -vi-
  82. -sm
  83. -pc
  84. -Ot
  85. -v
  86. -A
  87. | arj.cfg
  88.  
  89.  
  90.