diff options
author | Kelvin M. Klann <kmk3.code@protonmail.com> | 2024-01-20 21:15:12 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-20 21:15:12 +0000 |
commit | 4f134116b77f5d03b239df3ea9b56d46811f5665 (patch) | |
tree | 77646491f3d8b6b742d74a39e5e6c91fab95487a /src/prog.mk | |
parent | Merge pull request #6159 from kmk3/build-use-cppflags (diff) | |
parent | build: use full paths on compile/link targets (diff) | |
download | firejail-4f134116b77f5d03b239df3ea9b56d46811f5665.tar.gz firejail-4f134116b77f5d03b239df3ea9b56d46811f5665.tar.zst firejail-4f134116b77f5d03b239df3ea9b56d46811f5665.zip |
Merge pull request #6158 from kmk3/build-use-full-paths
build: use full paths on compile/link targets
Diffstat (limited to 'src/prog.mk')
-rw-r--r-- | src/prog.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/prog.mk b/src/prog.mk index 426961c29..87e1806a8 100644 --- a/src/prog.mk +++ b/src/prog.mk | |||
@@ -5,8 +5,8 @@ | |||
5 | # The includer should probably define PROG and TARGET and may also want to | 5 | # The includer should probably define PROG and TARGET and may also want to |
6 | # define EXTRA_HDRS and EXTRA_OBJS and extend CLEANFILES. | 6 | # define EXTRA_HDRS and EXTRA_OBJS and extend CLEANFILES. |
7 | 7 | ||
8 | HDRS := $(sort $(wildcard *.h)) $(EXTRA_HDRS) | 8 | HDRS := $(sort $(wildcard $(MOD_DIR)/*.h)) $(EXTRA_HDRS) |
9 | SRCS := $(sort $(wildcard *.c)) | 9 | SRCS := $(sort $(wildcard $(MOD_DIR)/*.c)) |
10 | OBJS := $(SRCS:.c=.o) $(EXTRA_OBJS) | 10 | OBJS := $(SRCS:.c=.o) $(EXTRA_OBJS) |
11 | 11 | ||
12 | .PHONY: all | 12 | .PHONY: all |