Skip to content

Doesn't work with $(MAKEFILE_LIST) #7

Description

@EricCreusen

Example of files that do not work:

Makefile:
dir_self := $(dir $(lastword $(MAKEFILE_LIST)))
include $(dir_self)/dir/Makefile2

dir/Makefile2:
target:
echo Making target

from the directory of Makefile:
make target <- works as expected, performs echo

from the directory of Makefile:
profile_make target <- Does not work

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions