Uploaded image for project: 'Lucy'
  1. Lucy
  2. LUCY-309

BSD make doesn't support pattern rules

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.6.1
    • Component/s: Charmonizer
    • Labels:
      None

      Description

      Charmonizer currently assumes that every make utility except nmake supports pattern rules. This was overly optimistic as there are some versions of BSD make that don't support pattern rules. Pattern rules are used in Charmonizer-generated Makefiles to pass per-directory compiler options.

      Possible solutions:

      • Always add an explicit rule for every object file.
      • Feature test for pattern rules or GNU make.
      • Per-directory Makefiles.

        Attachments

          Activity

            People

            • Assignee:
              nwellnhof Nick Wellnhofer
              Reporter:
              nwellnhof Nick Wellnhofer
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: