feat(make): load targets from makefiles

This commit is contained in:
Michele Cereda
2025-01-12 22:36:19 +01:00
parent 02b9e6b9af
commit 062e2d22da

View File

@@ -2,6 +2,7 @@
1. [TL;DR](#tldr)
1. [Load .env files in the Makefile](#load-env-files-in-the-makefile)
1. [Load targets from other Makefiles](#load-targets-from-other-makefiles)
1. [Further readings](#further-readings)
1. [Sources](#sources)
@@ -116,6 +117,13 @@ If prefixed with '-' (`-include`), it does not error nor warning should any of t
`export` without parameters exports all variables set until now.
## Load targets from other Makefiles
```makefile
include ../Makefile
-include something.make
```
## Further readings
- [Conditional syntax]