diff options
author | Wojciech Kosior <kwojtus@protonmail.com> | 2020-09-21 18:15:19 +0200 |
---|---|---|
committer | Wojciech Kosior <kwojtus@protonmail.com> | 2020-09-21 18:15:19 +0200 |
commit | aad5da27e720b325183189c8a52d901f34cd97b6 (patch) | |
tree | fd97d9a6cfaf264bc3d3bfe1efc7b3580fcc459e /Makefile.test | |
parent | 91da5622c92020262d04c5624ff801243e827323 (diff) | |
download | AGH-engineering-thesis-aad5da27e720b325183189c8a52d901f34cd97b6.tar.gz AGH-engineering-thesis-aad5da27e720b325183189c8a52d901f34cd97b6.zip |
make running tests through Makefile more comfortable
Diffstat (limited to 'Makefile.test')
-rw-r--r-- | Makefile.test | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile.test b/Makefile.test index 46af49a..787489c 100644 --- a/Makefile.test +++ b/Makefile.test @@ -11,6 +11,7 @@ MACROASM_FLAGS += -I$(PROJ_DIR)/include/ -E include $(PROJ_DIR)/Makefile.config include $(PROJ_DIR)/Makefile.util +include $(PROJ_DIR)/tools/Makefile.tools ifdef DEBUG IVFLAGS += -DDEBUG @@ -42,7 +43,9 @@ ifdef VGA_TEST endif endif -$(PROJ_DIR)/% : +TOOLS_TARGETS = $(addprefix $(PROJ_DIR)/tools/,$(TOOLS)) + +$(TOOLS_TARGETS) : $(PROJ_DIR)/% : $(MAKE) -C $(PROJ_DIR) $* %.mem : %.memv @@ -70,4 +73,6 @@ clean : rm $(GENERATED_MEM_FILES) *.vvp *.wasm report.log VGAdump.mem \ VGAdump.ppm 2>/dev/null || true -.PHONY : test clean +.PHONY : test clean $(TOOLS_TARGETS) + +.SECONDARY : $(TOOLS_TARGETS) |