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/firemon/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/firemon') diff --git a/src/firemon/Makefile b/src/firemon/Makefile index 19828a2da..74c283357 100644 --- a/src/firemon/Makefile +++ b/src/firemon/Makefile @@ -6,7 +6,7 @@ all: firemon include $(ROOT)/src/common.mk -%.o : %.c $(H_FILE_LIST) ../include/common.h ../include/pid.h $(ROOT)/config.mk +%.o : %.c $(HDRS) ../include/common.h ../include/pid.h $(ROOT)/config.mk $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDE) -c $< -o $@ firemon: $(OBJS) ../lib/common.o ../lib/pid.o $(ROOT)/config.mk -- cgit v1.2.3-54-g00ecf