From 87db1072092f388a3ff260736e77d168164bd398 Mon Sep 17 00:00:00 2001 From: "Kelvin M. Klann" Date: Wed, 12 Oct 2022 23:51:24 -0300 Subject: 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' \ '{}')\" >'{}'" --- src/fnettrace/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/fnettrace') diff --git a/src/fnettrace/Makefile b/src/fnettrace/Makefile index 6c4e27f01..eefeadce8 100644 --- a/src/fnettrace/Makefile +++ b/src/fnettrace/Makefile @@ -6,7 +6,7 @@ all: fnettrace include $(ROOT)/src/common.mk -%.o : %.c $(H_FILE_LIST) $(ROOT)/config.mk +%.o : %.c $(HDRS) $(ROOT)/config.mk $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDE) -c $< -o $@ fnettrace: $(OBJS) $(ROOT)/config.mk -- cgit v1.2.3-54-g00ecf