home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / mdep.zip / readme.txt < prev   
Text File  |  1996-12-11  |  1KB  |  39 lines

  1. makedepend
  2. ----------
  3.  
  4. This is a quick and rude port of the X11 R6 makedepend to OS/2 using icc.
  5.  
  6. I have taken the code from FreeBSD 2.0.5, which I happened to have handy.
  7.  
  8. I have added a feature I wanted: the switch -iENVIRONMENTVARIABLE will add
  9. all semicolon delimited directories in ENVIRONMENTVARIABLE to the list of
  10. include directories.
  11.  
  12. One obvious use is: makedepend -i INCLUDE a.c
  13.  
  14. If you do not want the system header files in you dependencies, you might use:
  15.  
  16. set MYINCLUDE=\mytree\include;\mytree\subproj\include
  17.  
  18. makedepend -i MYINCLUDE a.c
  19.  
  20. but
  21.  
  22. makedepend -I \mytree\include -I \mytree\subproj\include a.c
  23.  
  24. which is the 'normal' way of doing things, is also possible.
  25.  
  26. Sources
  27. -------
  28.  
  29. Todd Brunhoff wrote this program. Thanks.
  30.  
  31. To build makedepend, I use icc and GNU make. nmake will barf over the makefile.
  32.  
  33. And yes, I use long filenames. If you don't like that, edit the makefile.
  34.  
  35. I have compiled these sources under NT with VC++ 4.2 without any hassles (different 
  36. makefile, though).
  37.  
  38. Lars Immisch
  39. lars@ibp.de