home *** CD-ROM | disk | FTP | other *** search
/ linuxmafia.com 2016 / linuxmafia.com.tar / linuxmafia.com / pub / linux / backup / star-1.3.1.tar.gz / star-1.3.1.tar / star-1.3.1 / README.gmake < prev    next >
Text File  |  2000-07-24  |  2KB  |  44 lines

  1. Gmake compliance is included for convenience because it may
  2. be found on many systems and most make programs are worse
  3. than gmake.
  4.  
  5. The major problem with gmake is that it does not handle the
  6. include directive correctly. The general rule for a make program is
  7. to first try to "make" any object it should look on. Gmake
  8. does not try to "make" any makefile it should include. One result
  9. is many warnings about non-existent files (which you could ignore).
  10. The other problem with gmake and include files is hat gmake
  11. includes the files in the opposite order than expected. The result is 
  12. that dependencies may not handled correctly.
  13.  
  14. If you have problems with the make file system and gmake,
  15. you are out of luck. Gmake has a debug option, but it gives
  16. tons of debug messages. Less than 1% of these debug messages are
  17. useful. Important things are missing in these debug messages.
  18.  
  19. Gmake has bug with the VPATH= option. Some of the macros are
  20. not expanded correctly. I had to remove all occurrences of
  21. $@ $* and $^ on some places for this reason.
  22.  
  23. On some platforms (e.g. OSF1), gmake is not able to correctly recognize
  24. the default target. If gmake complains about this, call ./Gmake all
  25.  
  26. To use GNU make create a file called 'Gmake' in you search path
  27. that contains:
  28.  
  29. #!/bin/sh
  30. MAKEPROG=gmake
  31. export MAKEPROG
  32. exec gmake "$@"
  33.  
  34. and call 'Gmake' instead of gmake. On Linux there is no gmake, 'make'
  35. on Linux is really a gmake.
  36.  
  37. 'Gmake' and 'Gmake.linux' are part of this distribution.
  38.  
  39. Note that makefile versions past 98/10/13 are trying to recognize
  40. gmake by assuming that $(MAKE_COMMAND) is only present if you
  41. are running gmake. So it may be worth to try to just call 'gmake'
  42. or even 'make' if your system uses gmake as the default make program.
  43.  
  44.