From 710852ec71e9366238a28fc2f07aaed9b396aa4c Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Sun, 30 Jul 2023 23:41:32 +0200 Subject: Makefile: Add FORCE target When added to targets $(DYNSTR) and $(SLWEB), this would force running the recursive Makefiles, which might then (or might not) rebuild targets. --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 78b5ea6..080690e 100644 --- a/Makefile +++ b/Makefile @@ -26,13 +26,15 @@ all: $(PROJECT) clean: rm -f $(OBJECTS) $(DEPS) +FORCE: + $(PROJECT): $(OBJECTS) $(DYNSTR) $(SLWEB) $(CC) $(OBJECTS) $(LDFLAGS) $(LIBS) $(SLWEB_FLAGS) $(DYNSTR_FLAGS) -o $@ -$(DYNSTR): +$(DYNSTR): FORCE +cd slweb/dynstr && $(MAKE) -$(SLWEB): +$(SLWEB): FORCE +cd slweb && $(MAKE) -include $(DEPS) -- cgit v1.2.3