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