google / google/kati

Implicit rules cannot invoke other implicit rules

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

Description

If an implicit rule has an input that does not yet exist but could be made by another implicit rule, it will be skipped.

```
all: test.a

%.a: %.b
echo $< > $@

%.b:
echo $* > $@
```

This test makefile will successfully create `test.a` when run by GNU make, but ckati will fail with `No rule to make target 'test.a'` due to the pattern being declined because `test.b` does not already exist.

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.