diff options
author | Kelvin M. Klann <kmk3.code@protonmail.com> | 2022-07-29 22:54:52 -0300 |
---|---|---|
committer | Kelvin M. Klann <kmk3.code@protonmail.com> | 2022-11-21 16:59:43 -0300 |
commit | 72345b7305e1cc7e079c83d805f3af979d7493cd (patch) | |
tree | 96cccb324b48b6a06a24c272ae25482d476365b7 /src/common.mk | |
parent | Makefile: put the all target after variables (diff) | |
download | firejail-72345b7305e1cc7e079c83d805f3af979d7493cd.tar.gz firejail-72345b7305e1cc7e079c83d805f3af979d7493cd.tar.zst firejail-72345b7305e1cc7e079c83d805f3af979d7493cd.zip |
makefiles: include config.mk directly
Instead of including it through src/common.mk.
This allows each makefile to directly override any value defined in
config.mk.
Diffstat (limited to 'src/common.mk')
-rw-r--r-- | src/common.mk | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/common.mk b/src/common.mk index 7fc23c6e7..30ba2b494 100644 --- a/src/common.mk +++ b/src/common.mk | |||
@@ -1,8 +1,6 @@ | |||
1 | # Common definitions for building C programs and non-shared objects. | 1 | # Common definitions for building C programs and non-shared objects. |
2 | # | 2 | # |
3 | # Note: "ROOT" must be defined before including this file. | 3 | # Note: $(ROOT)/config.mk must be included before this file. |
4 | |||
5 | -include $(ROOT)/config.mk | ||
6 | 4 | ||
7 | H_FILE_LIST = $(sort $(wildcard *.h)) | 5 | H_FILE_LIST = $(sort $(wildcard *.h)) |
8 | C_FILE_LIST = $(sort $(wildcard *.c)) | 6 | C_FILE_LIST = $(sort $(wildcard *.c)) |