README 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. Following is a repost of the public domain 'make' that I posted
  2. to net.sources a couple of months ago. I have fixed a few bugs, and
  3. added some more features, and the resulting changes amounted to
  4. about as much text as the whole program (hence the repost).
  5. For those that missed the net.sources posting, this is a public domain
  6. re-implementation of the UNIX make program. There is no manual included;
  7. for documentation, refer to a UNIX manual, or the source.
  8. Here is a list of the changes made:
  9. i) If '-' (ignore) or '@' (silent) where used at the start
  10. of a command, their effect was not turned off for the following
  11. commands.
  12. ii) A special target (.SUFFIXES, .PRECIOUS) or a rule (.c.o, .a.o),
  13. if first in the file would be taken as the default target.
  14. This resulted in error messages like "Don't know how to
  15. make .c", because things like .SUFFIXES were being made.
  16. This was further complicated by ---
  17. iii) Special target lines with no dependents (ie. .SUFFIXES:\n)
  18. were not clearing out the existing dependents like
  19. they should.
  20. iv) Default rules could not be redefined because of the error
  21. checking for commands being defined twice. Now you are
  22. allowed to define a target beinging with '.', having
  23. no dependents with commands.
  24. v) The -q option didn't do the time comparison correctly,
  25. or clear the variable used to keep track of this. Thus
  26. it didn't work very well.
  27. vi) The syntax ${..} for macro's supported by UNIX make was
  28. not supported.
  29. vii) There wuz a couple of spelling errors.
  30. viii) When make checked for implicit rules on targets without
  31. a suffix, there were problems. (Note: The ~ feature of
  32. UNIX make wasn't and still isn't supported)
  33. ix) The -n option did not print @ lines like it was supposed to.
  34. x) :: added. (See UNIX manual)
  35. xi) $? added. (see UNIX manual)
  36. Hacked further by Ceriel Jacobs to make it work better. Use this "make" to
  37. install ACK under Microsoft Xenix V3.2. Some of the makefiles are just too
  38. big for the Xenix "make". Strange, they work on a PDP-11 ...