diff --git a/knowledge base/gnu userland/make.md b/knowledge base/gnu userland/make.md index 0c4e8b5..b6ec1f3 100644 --- a/knowledge base/gnu userland/make.md +++ b/knowledge base/gnu userland/make.md @@ -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]