diff options
author | Kelvin M. Klann <kmk3.code@protonmail.com> | 2022-07-23 06:37:57 -0300 |
---|---|---|
committer | Kelvin M. Klann <kmk3.code@protonmail.com> | 2022-11-21 17:37:17 -0300 |
commit | f9381496c7abbe16961d7dd00e23e147fbe0b817 (patch) | |
tree | 39e9114fb84f9ad0e75c60d04e8aa6716267fa52 /src/prog.mk | |
parent | makefiles: add TOCLEAN and TODISTCLEAN variables (diff) | |
download | firejail-f9381496c7abbe16961d7dd00e23e147fbe0b817.tar.gz firejail-f9381496c7abbe16961d7dd00e23e147fbe0b817.tar.zst firejail-f9381496c7abbe16961d7dd00e23e147fbe0b817.zip |
makefiles: mention variables intended to be used by includers
On src/prog.mk and src/so.mk.
Diffstat (limited to 'src/prog.mk')
-rw-r--r-- | src/prog.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/prog.mk b/src/prog.mk index f78575f06..82920c240 100644 --- a/src/prog.mk +++ b/src/prog.mk | |||
@@ -1,6 +1,9 @@ | |||
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)/config.mk must be included before this file. | 3 | # Note: $(ROOT)/config.mk must be included before this file. |
4 | # | ||
5 | # The includer should probably define PROG and TARGET and may also want to | ||
6 | # define MOD_HDRS, MOD_SRCS, MOD_OBJS, TOCLEAN and TODISTCLEAN. | ||
4 | 7 | ||
5 | HDRS := $(sort $(wildcard *.h)) $(MOD_HDRS) | 8 | HDRS := $(sort $(wildcard *.h)) $(MOD_HDRS) |
6 | SRCS := $(sort $(wildcard *.c)) $(MOD_SRCS) | 9 | SRCS := $(sort $(wildcard *.c)) $(MOD_SRCS) |