From afaee3b3585f2acb77a926321905a0c029ef63ae Mon Sep 17 00:00:00 2001 From: heck Date: Tue, 20 Jun 2023 19:32:14 +0200 Subject: [PATCH] Build: add 'make check' to all makefiles --- examples/example1/Makefile | 3 +++ idl/test_api/Makefile | 3 +++ lm-c99/tests/test_ig_c99/Makefile | 3 +++ 3 files changed, 9 insertions(+) diff --git a/examples/example1/Makefile b/examples/example1/Makefile index c38d519..cbf9eb6 100644 --- a/examples/example1/Makefile +++ b/examples/example1/Makefile @@ -13,6 +13,9 @@ compile: $(BUILD_DIR)/* xml: $(SRC_XML) +check: + YML_PATH=$(YML_PATH) yml2proc -y ../../idl/idl_check.ysl2 $(SRC) + $(BUILD_DIR)/*: $(BUILD_DIR) $(SRC) $(COMPILER) YML_PATH=$(YML_PATH) yml2proc -y $(COMPILER) $(SRC) diff --git a/idl/test_api/Makefile b/idl/test_api/Makefile index 30f314b..6dcea68 100644 --- a/idl/test_api/Makefile +++ b/idl/test_api/Makefile @@ -13,6 +13,9 @@ compile: $(BUILD_DIR)/* xml: $(SRC_XML) +check: + YML_PATH=$(YML_PATH) yml2proc -y ../idl_check.ysl2 $(SRC) + $(BUILD_DIR)/*: $(BUILD_DIR) $(SRC) $(COMPILER) YML_PATH=$(YML_PATH) yml2proc -y $(COMPILER) $(SRC) diff $(BUILD_DIR)/typesys.out $(BUILD_DIR)/typesys.out.target diff --git a/lm-c99/tests/test_ig_c99/Makefile b/lm-c99/tests/test_ig_c99/Makefile index 317d9c6..9f5d2d2 100644 --- a/lm-c99/tests/test_ig_c99/Makefile +++ b/lm-c99/tests/test_ig_c99/Makefile @@ -13,6 +13,9 @@ compile: $(BUILD_DIR)/* xml: $(SRC_XML) +check: + YML_PATH=$(YML_PATH) yml2proc -y ../../idl/idl_check.ysl2 $(SRC) + $(BUILD_DIR)/*: $(BUILD_DIR) $(SRC) $(COMPILER) YML_PATH=$(YML_PATH) yml2proc -y $(COMPILER) $(SRC) diff $(BUILD_DIR)/idl_core.h $(BUILD_DIR)/idl_core.h.target