aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2017-09-01 23:42:49 +0200
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2017-09-01 23:42:49 +0200
commitf8a997b2b7b6548f6b43f373e9971477c6630a7e (patch)
tree19a985c51e50dbdba85d0000eb10db0d7604fb83
parenta0aae24cfb5433f1ebd2e2c7adffdbc253e91cbe (diff)
downloadlimiter-master.zip
limiter-master.tar.bz2
Forces checking of subcomponents.HEADmaster
-rw-r--r--Makefile4
-rw-r--r--src/Makefile4
2 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 3cf2eea..1c9e4e5 100644
--- a/Makefile
+++ b/Makefile
@@ -17,9 +17,11 @@ build: $(EXECUTABLE)
$(EXECUTABLE): $(SRC_DIR)/export.a
$(CC) $(CFLAGS) -o $@ $<
-$(SRC_DIR)/export.a:
+$(SRC_DIR)/export.a: .JUST_CHECK
$(MAKE) -C $(SRC_DIR) export.a
clean:
$(MAKE) -C $(SRC_DIR) clean
rm -f $(EXECUTABLE)
+
+.JUST_CHECK:
diff --git a/src/Makefile b/src/Makefile
index 8ffa1ab..719b8ea 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -10,7 +10,7 @@ build: export.a
export.a: $(OBJ_FILES) $(SUBCOMPONENTS_EXPORT)
ar -crT $@ $^
-$(SUBCOMPONENTS_EXPORT):
+$(SUBCOMPONENTS_EXPORT): .JUST_CHECK
$(MAKE) -C $(dir $@) export.a
clean:
@@ -27,4 +27,6 @@ clean:
sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \
rm -f $@.$$$$
+.JUST_CHECK:
+
include $(DEP_FILES)