mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
feat(make): load targets from makefiles
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
1. [TL;DR](#tldr)
|
1. [TL;DR](#tldr)
|
||||||
1. [Load .env files in the Makefile](#load-env-files-in-the-makefile)
|
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. [Further readings](#further-readings)
|
||||||
1. [Sources](#sources)
|
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.
|
`export` without parameters exports all variables set until now.
|
||||||
|
|
||||||
|
## Load targets from other Makefiles
|
||||||
|
|
||||||
|
```makefile
|
||||||
|
include ../Makefile
|
||||||
|
-include something.make
|
||||||
|
```
|
||||||
|
|
||||||
## Further readings
|
## Further readings
|
||||||
|
|
||||||
- [Conditional syntax]
|
- [Conditional syntax]
|
||||||
|
|||||||
Reference in New Issue
Block a user