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/lib/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/Makefile') diff --git a/src/lib/Makefile b/src/lib/Makefile index d9b500409..ff1cfcf74 100644 --- a/src/lib/Makefile +++ b/src/lib/Makefile @@ -9,7 +9,7 @@ include $(ROOT)/src/common.mk .PHONY: lib lib: $(OBJS) -%.o : %.c $(H_FILE_LIST) $(ROOT)/config.mk +%.o : %.c $(HDRS) $(ROOT)/config.mk $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDE) -c $< -o $@ .PHONY: clean -- cgit v1.2.3-54-g00ecf