aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-07-30 23:41:32 +0200
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-08-01 02:25:30 +0200
commit710852ec71e9366238a28fc2f07aaed9b396aa4c (patch)
tree1daf392bf63500e7f35f91215807ae970f3fcbd7
parent75f1f223d45d00629ed0866bf8bed726b60d8215 (diff)
downloadslcl-710852ec71e9366238a28fc2f07aaed9b396aa4c.tar.gz
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.
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
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)