home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / msdos / programm / 11908 < prev    next >
Encoding:
Internet Message Format  |  1993-01-08  |  1.2 KB

  1. Path: sparky!uunet!olivea!apple!goofy!NewsWatcher!user
  2. From: rol@grasp1.univ-lyon1.fr (Paul Rolland)
  3. Newsgroups: comp.os.msdos.programmer
  4. Subject: Strange option in Borland make
  5. Message-ID: <rol-080193153011@90.222.1.80>
  6. Date: 8 Jan 93 14:33:20 GMT
  7. Sender: usenet@goofy.apple.COM
  8. Followup-To: comp.os.msdos.programmer
  9. Organization: Apple Computer Europe
  10. Lines: 33
  11.  
  12. Hi all,
  13.  
  14. I'm using Borland make, and I've organized my disks as follows :
  15. E:\ ASM and LNK source files
  16. G:\ OBJ and EXE files
  17.  
  18. In my makefile, I've added
  19. .PATH.ASM=E:
  20. .PATH.OBJ=G:
  21. .PATH.EXE=G:
  22.  
  23. .ASM.OBJ:
  24.           TASM ($OPTIONS) $*.ASM,$*.OBJ
  25.  
  26. TOTO.OBJ:
  27.         TOTO.ASM
  28.  
  29. And the result is surprising... Make controls correctly the date of the
  30. .OBJ
  31. on the G: disk and the disk of the .ASM on the E: disk, and calls TASM
  32. only when it is necessary... BUT, TASM is called with :
  33. TASM <options> E:TOTO.ASM,E:TOTO.OBJ  
  34.                           ??
  35. How can I tell it that PATH for OBJ is on G: ? With such a behavior, it
  36. cannot
  37. generate my exe file because the OBJ are not found when link is called,
  38. and i'd like to have ASM and OBJ on different disks because it is
  39. clearer...
  40. Any help will be greatly appreciated !
  41.  
  42. Paul Rolland
  43.  
  44. A bug can be changed to a feature by documenting it. Developpers know !
  45.