Skip to content

Doesn't work with $(MAKEFILE_LIST) #7

@EricCreusen

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions