2017-03-19 16:48:12 +00:00
|
|
|
# top-level Makefile for the regression tests
|
2014-11-22 17:28:05 +00:00
|
|
|
|
2014-11-24 19:57:58 +00:00
|
|
|
ifneq ($(shell echo),)
|
2017-03-19 16:48:12 +00:00
|
|
|
CMD_EXE = 1
|
2014-11-24 19:57:58 +00:00
|
|
|
endif
|
2014-11-22 17:28:05 +00:00
|
|
|
|
2014-11-24 19:57:58 +00:00
|
|
|
ifdef CMD_EXE
|
2015-07-10 22:01:39 +00:00
|
|
|
RMDIR = -rmdir /s /q $(subst /,\,$1)
|
2014-11-24 19:57:58 +00:00
|
|
|
else
|
2015-07-10 09:11:41 +00:00
|
|
|
RMDIR = $(RM) -r $1
|
2014-11-24 19:57:58 +00:00
|
|
|
endif
|
|
|
|
|
2017-03-19 16:48:12 +00:00
|
|
|
WORKDIR = ../testwrk
|
2015-06-26 22:03:45 +00:00
|
|
|
|
2020-07-27 15:47:14 +00:00
|
|
|
.PHONY: test continue mostlyclean clean
|
2014-11-24 19:57:58 +00:00
|
|
|
|
2020-07-27 15:47:14 +00:00
|
|
|
test: mostlyclean continue
|
2014-11-22 17:28:05 +00:00
|
|
|
|
2017-03-19 16:48:12 +00:00
|
|
|
continue:
|
2017-03-19 16:57:25 +00:00
|
|
|
@$(MAKE) -C asm all
|
|
|
|
@$(MAKE) -C dasm all
|
2014-11-26 00:38:30 +00:00
|
|
|
@$(MAKE) -C val all
|
|
|
|
@$(MAKE) -C ref all
|
|
|
|
@$(MAKE) -C err all
|
2023-05-05 15:04:31 +00:00
|
|
|
@$(MAKE) -C standard all
|
2014-11-26 00:38:30 +00:00
|
|
|
@$(MAKE) -C misc all
|
2020-07-22 13:12:29 +00:00
|
|
|
@$(MAKE) -C todo all
|
2014-11-26 00:38:30 +00:00
|
|
|
|
2016-06-01 21:51:43 +00:00
|
|
|
mostlyclean:
|
2017-03-19 16:57:25 +00:00
|
|
|
@$(MAKE) -C asm clean
|
|
|
|
@$(MAKE) -C dasm clean
|
2014-11-22 17:28:05 +00:00
|
|
|
@$(MAKE) -C val clean
|
|
|
|
@$(MAKE) -C ref clean
|
|
|
|
@$(MAKE) -C err clean
|
2023-05-05 15:04:31 +00:00
|
|
|
@$(MAKE) -C standard clean
|
2014-11-22 21:22:30 +00:00
|
|
|
@$(MAKE) -C misc clean
|
2020-07-22 13:12:29 +00:00
|
|
|
@$(MAKE) -C todo clean
|
2014-12-17 22:35:18 +00:00
|
|
|
|
2016-06-01 21:51:43 +00:00
|
|
|
clean: mostlyclean
|
2015-07-10 09:11:41 +00:00
|
|
|
@$(call RMDIR,$(WORKDIR))
|