2022-02-19 11:44:20 +00:00
|
|
|
# top-level Makefile for the regression tests
|
2016-09-03 14:45:59 +00:00
|
|
|
|
2017-03-19 16:48:12 +00:00
|
|
|
ifneq ($(shell echo),)
|
|
|
|
CMD_EXE = 1
|
|
|
|
endif
|
2016-09-03 14:45:59 +00:00
|
|
|
|
2017-03-19 16:48:12 +00:00
|
|
|
ifdef CMD_EXE
|
2022-02-19 11:44:20 +00:00
|
|
|
RMDIR = -rmdir /s /q $(subst /,\,$1)
|
2017-03-19 16:48:12 +00:00
|
|
|
else
|
|
|
|
RMDIR = $(RM) -r $1
|
|
|
|
endif
|
2016-09-03 14:45:59 +00:00
|
|
|
|
2022-02-19 11:44:20 +00:00
|
|
|
WORKDIR = ../testwrk/asm
|
2017-03-19 16:48:12 +00:00
|
|
|
|
2022-02-19 11:52:02 +00:00
|
|
|
.PHONY: all continue mostlyclean clean
|
2017-03-19 16:48:12 +00:00
|
|
|
|
2022-02-19 11:52:02 +00:00
|
|
|
all: mostlyclean continue
|
2017-03-19 16:48:12 +00:00
|
|
|
|
2024-03-17 16:19:42 +00:00
|
|
|
continue: mostlyclean
|
|
|
|
@$(MAKE) -C cpudetect all
|
|
|
|
@$(MAKE) -C opcodes all
|
|
|
|
@$(MAKE) -C listing all
|
|
|
|
@$(MAKE) -C val all
|
|
|
|
@$(MAKE) -C err all
|
|
|
|
@$(MAKE) -C misc all
|
|
|
|
|
|
|
|
mostlyclean:
|
|
|
|
@$(MAKE) -C cpudetect clean
|
|
|
|
@$(MAKE) -C opcodes clean
|
|
|
|
@$(MAKE) -C listing clean
|
|
|
|
@$(MAKE) -C val clean
|
|
|
|
@$(MAKE) -C err clean
|
|
|
|
@$(MAKE) -C misc clean
|
2020-09-29 17:03:42 +00:00
|
|
|
|
2022-02-19 11:44:20 +00:00
|
|
|
clean: mostlyclean
|
2017-03-19 16:48:12 +00:00
|
|
|
@$(call RMDIR,$(WORKDIR))
|