Skip to content

Makefiles on MacOS #111

@mlevison

Description

@mlevison

When I run make install, I get the following error:

marklevison@Mac amplifier % make install
Makefile:5: /Users/marklevison/Documents/GitHub/LLM: No such file or directory
Makefile:5: Related/amplifier/tools/makefiles/recursive.mk: No such file or directory
Error: Unknown command 'Related/amplifier/tools/makefiles/recursive.mk'. Run 'make help' to see available commands.
make: *** [Related/amplifier/tools/makefiles/recursive.mk] Error 1
marklevison@Mac amplifier %

In the main makefile something about:

Include the recursive system

repo_root = $(shell git rev-parse --show-toplevel)
include $(repo_root)/tools/makefiles/recursive.mk

and then in the recursive.mk file:
mkfile_dir = $(patsubst %/,%,$(dir $(realpath $(lastword $(MAKEFILE_LIST)))))

Isn't working in MacOS with Gnu Make 3.81

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