aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2017-09-01 23:44:36 +0200
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2017-09-01 23:44:36 +0200
commit19b28fafe0ee8c0f3123e8698f1fe30ada653b36 (patch)
tree3042f09ade5ba0e96063b1d163cb9e2e1697e83a
parentb62d97800bfd2d6aafd75b5afc72c180d5241784 (diff)
downloadcli-19b28fafe0ee8c0f3123e8698f1fe30ada653b36.zip
cli-19b28fafe0ee8c0f3123e8698f1fe30ada653b36.tar.bz2
Forces checking of subcomponents.HEADmaster
-rw-r--r--Makefile4
-rw-r--r--src/Makefile2
2 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a4e2a7e..078aa54 100644
--- a/Makefile
+++ b/Makefile
@@ -13,9 +13,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 1cd5199..8ae0d15 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,6 +1,8 @@
+################################################################################
SRC_FILES = $(wildcard ./*.c)
OBJ_FILES = $(SRC_FILES:.c=.o)
DEP_FILES = $(SRC_FILES:.c=.d)
+################################################################################
build: export.a