diff options
author | 2022-05-03 23:40:57 -0300 | |
---|---|---|
committer | 2022-11-21 16:59:43 -0300 | |
commit | 85e42edc448ea6384de43e4fcf8ac0d949c043d5 (patch) | |
tree | 08e60ac19c1b1e3d8305540baab400b1d5ec30f7 /src/fsec-print/Makefile | |
parent | makefiles: include config.mk directly (diff) | |
download | firejail-85e42edc448ea6384de43e4fcf8ac0d949c043d5.tar.gz firejail-85e42edc448ea6384de43e4fcf8ac0d949c043d5.tar.zst firejail-85e42edc448ea6384de43e4fcf8ac0d949c043d5.zip |
makefiles: equalize object dependencies in program targets
Compared to the objects that are actually used in a given recipe, some
program targets are missing object dependencies, while others appear to
have unused object dependencies.
Make each of those targets depend on the objects that are actually used
when linking.
Note: No check was done for extraneous/missing objects when linking;
this commit only makes the object dependencies equal to the objects
that are linked.
Diffstat (limited to 'src/fsec-print/Makefile')
-rw-r--r-- | src/fsec-print/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fsec-print/Makefile b/src/fsec-print/Makefile index 354c72c08..a83dcca3d 100644 --- a/src/fsec-print/Makefile +++ b/src/fsec-print/Makefile | |||
@@ -9,7 +9,7 @@ include $(ROOT)/src/common.mk | |||
9 | %.o : %.c $(H_FILE_LIST) ../include/common.h ../include/seccomp.h ../include/syscall.h $(ROOT)/config.mk | 9 | %.o : %.c $(H_FILE_LIST) ../include/common.h ../include/seccomp.h ../include/syscall.h $(ROOT)/config.mk |
10 | $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDE) -c $< -o $@ | 10 | $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDE) -c $< -o $@ |
11 | 11 | ||
12 | fsec-print: $(OBJS) ../lib/common.o ../lib/libnetlink.o ../lib/errno.o ../lib/syscall.o $(ROOT)/config.mk | 12 | fsec-print: $(OBJS) ../lib/common.o ../lib/errno.o ../lib/syscall.o $(ROOT)/config.mk |
13 | $(CC) $(LDFLAGS) -o $@ $(OBJS) ../lib/common.o ../lib/errno.o ../lib/syscall.o $(LIBS) $(EXTRA_LDFLAGS) | 13 | $(CC) $(LDFLAGS) -o $@ $(OBJS) ../lib/common.o ../lib/errno.o ../lib/syscall.o $(LIBS) $(EXTRA_LDFLAGS) |
14 | 14 | ||
15 | .PHONY: clean | 15 | .PHONY: clean |