google / google/kati

Parsing error when variables in dependencies include '='

Open
#138 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
1k
Forks
132
Avg merge
11m
Merged PRs (30d)
1

Description

```make
installed := my_installed=file
built := my_built=file

$(installed): $(built)
cp $< $@
```

This appears to work in make 3.81 & 4.1, but causes a parsing error in kati:

```
Makefile:5: *** commands commence before first target.
```

I believe that it's parsing the '=' sign out of $(built) and setting a target-specific variable instead of using it as a dependency.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.