aboutsummaryrefslogtreecommitdiffstats
path: root/src/fnet
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2022-10-12 23:51:24 -0300
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2022-11-21 17:11:23 -0300
commit87db1072092f388a3ff260736e77d168164bd398 (patch)
treeaabf15c5eb21a981c459e681f4a55b737dfce268 /src/fnet
parentmakefiles: equalize object dependencies in program targets (diff)
downloadfirejail-87db1072092f388a3ff260736e77d168164bd398.tar.gz
firejail-87db1072092f388a3ff260736e77d168164bd398.tar.zst
firejail-87db1072092f388a3ff260736e77d168164bd398.zip
makefiles: rename H_FILE_LIST and C_FILE_LIST
To HDRS and SRCS, respectively. To be more consistent with the OBJS variable. Misc: These names also appear to be more common from the makefiles that I've seen. Commands used to search and replace: git grep -IFlz -e H_FILE_LIST -e C_FILE_LIST -- src | xargs -0 -I '{}' sh -c "printf '%s\n' \"\$(sed \ -e 's/^H_FILE_LIST *=/HDRS =/' \ -e 's/\$(H_FILE_LIST)/\$(HDRS)/g' \ -e 's/^C_FILE_LIST *=/SRCS =/' \ -e 's/\$(C_FILE_LIST:/\$(SRCS:/g' \ '{}')\" >'{}'"
Diffstat (limited to 'src/fnet')
-rw-r--r--src/fnet/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fnet/Makefile b/src/fnet/Makefile
index 249cd8501..9ce457a5c 100644
--- a/src/fnet/Makefile
+++ b/src/fnet/Makefile
@@ -6,7 +6,7 @@ all: fnet
6 6
7include $(ROOT)/src/common.mk 7include $(ROOT)/src/common.mk
8 8
9%.o : %.c $(H_FILE_LIST) ../include/common.h ../include/libnetlink.h $(ROOT)/config.mk 9%.o : %.c $(HDRS) ../include/common.h ../include/libnetlink.h $(ROOT)/config.mk
10 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDE) -c $< -o $@ 10 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDE) -c $< -o $@
11 11
12fnet: $(OBJS) ../lib/common.o ../lib/libnetlink.o $(ROOT)/config.mk 12fnet: $(OBJS) ../lib/common.o ../lib/libnetlink.o $(ROOT)/config.mk