aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2017-09-01 23:44:46 +0200
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2017-09-01 23:44:46 +0200
commit159be47848e99ae1cdda6619e42058d5edd468d5 (patch)
tree3b28950acd47244c1cef89c45e81c73ad11e8051
parent1dcb51ce2e4eee8d17d0d3807a5e3580dcd0749f (diff)
downloadmarkov-k-ram-159be47848e99ae1cdda6619e42058d5edd468d5.zip
markov-k-ram-159be47848e99ae1cdda6619e42058d5edd468d5.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 d9dc166..31e0d22 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)