Commit c18351e1 authored by yoogx's avatar yoogx
Browse files

* Add support for gnatmetric

parent 860dbda2
......@@ -45,6 +45,9 @@ examples::
gnatcheck::
@$(MAKE) -C projects gnatcheck
gnatmetric::
@$(MAKE) -C projects gnatmetric
check-local: install
@$(MAKE) test-suite
@$(MAKE) -C resources/runtime maybe-check-runtimes
......
......@@ -107,6 +107,12 @@ gnatcheck: %-build:
-XABS_SRC_DIR="$(PL_DEP_ABS_SRC_DIR)" \
-XABS_BUILD_DIR="$(PL_DEP_ABS_BUILD_DIR)"
gnatmetric: %-build:
ADA_PROJECT_PATH=$(top_srcdir)/projects:$(ADA_PROJECT_PATH) \
gnat metric -Pocarina-main.gpr -U $(GNATFLAGS) \
-XABS_SRC_DIR="$(PL_DEP_ABS_SRC_DIR)" \
-XABS_BUILD_DIR="$(PL_DEP_ABS_BUILD_DIR)"
clean-local: $(BUILD_DIRS) $(CLEAN_STAMPS) clean-mknodes
# XXX creating/deleting ocarina-configuration.adb is to please
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment