diff options
author | 2022-07-29 22:54:52 -0300 | |
---|---|---|
committer | 2022-11-21 16:59:43 -0300 | |
commit | 72345b7305e1cc7e079c83d805f3af979d7493cd (patch) | |
tree | 96cccb324b48b6a06a24c272ae25482d476365b7 /src/fcopy | |
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/fcopy')
-rw-r--r-- | src/fcopy/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fcopy/Makefile b/src/fcopy/Makefile index ae128df9b..a4c4a293c 100644 --- a/src/fcopy/Makefile +++ b/src/fcopy/Makefile | |||
@@ -1,7 +1,9 @@ | |||
1 | ROOT = ../.. | ||
2 | -include $(ROOT)/config.mk | ||
3 | |||
1 | .PHONY: all | 4 | .PHONY: all |
2 | all: fcopy | 5 | all: fcopy |
3 | 6 | ||
4 | ROOT = ../.. | ||
5 | include $(ROOT)/src/common.mk | 7 | include $(ROOT)/src/common.mk |
6 | 8 | ||
7 | %.o : %.c $(H_FILE_LIST) ../include/common.h ../include/syscall.h $(ROOT)/config.mk | 9 | %.o : %.c $(H_FILE_LIST) ../include/common.h ../include/syscall.h $(ROOT)/config.mk |