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
|
|
|
|
2016-06-01 23:51:43 +02:00
|
|
|
.PHONY: all dotests continue mostlyclean clean
|
2014-11-24 20:57:58 +01:00
|
|
|
|
|
|
|
all: dotests
|
|
|
|
|
2014-12-18 14:30:35 -05:00
|
|
|
.NOTPARALLEL:
|
|
|
|
|
2016-06-01 23:51:43 +02:00
|
|
|
dotests: mostlyclean 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
|
|
|
|
@$(MAKE) -C misc all
|
|
|
|
|
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
|
2014-11-22 22:22:30 +01:00
|
|
|
@$(MAKE) -C misc 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))
|