From 5cba21bad5383a4d2c4f7da5df7395e0c3b9eba3 Mon Sep 17 00:00:00 2001 From: "Kelvin M. Klann" Date: Fri, 16 Jun 2023 23:55:50 -0300 Subject: build: rename MOD vars to EXTRA vars To make them less confusing, as they are extra dependencies, not files that are specific to the module. Commands used to search and replace: $ git grep -IFlz -e 'MOD_HDRS' -e 'MOD_OBJS' -- src | xargs -0 -I '{}' sh -c "printf '%s\n' \"\$(sed \ -e 's/MOD_HDRS/EXTRA_HDRS/g' \ -e 's/MOD_OBJS/EXTRA_OBJS/g' '{}')\" >'{}'" Added on commit f5b1ccaad ("makefiles: move extra deps into new MOD vars", 2022-05-07) / PR #5478. --- src/prog.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/prog.mk') diff --git a/src/prog.mk b/src/prog.mk index ba089d39d..77ad0f65b 100644 --- a/src/prog.mk +++ b/src/prog.mk @@ -3,11 +3,11 @@ # Note: $(ROOT)/config.mk must be included before this file. # # The includer should probably define PROG and TARGET and may also want to -# define MOD_HDRS, MOD_OBJS, TOCLEAN and TODISTCLEAN. +# define EXTRA_HDRS, EXTRA_OBJS, TOCLEAN and TODISTCLEAN. -HDRS := $(sort $(wildcard *.h)) $(MOD_HDRS) +HDRS := $(sort $(wildcard *.h)) $(EXTRA_HDRS) SRCS := $(sort $(wildcard *.c)) -OBJS := $(SRCS:.c=.o) $(MOD_OBJS) +OBJS := $(SRCS:.c=.o) $(EXTRA_OBJS) PROG_CFLAGS = \ -ggdb -O2 -DVERSION='"$(VERSION)"' \ -- cgit v1.2.3-54-g00ecf