1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-07 07:29:33 +00:00
cc65/test/Makefile

45 lines
810 B
Makefile
Raw Normal View History

2017-03-19 16:48:12 +00:00
# top-level Makefile for the regression tests
# You can comment this special target when you debug the regression tests.
# Then, make will give you more progress reports.
.SILENT:
ifneq ($(shell echo),)
2017-03-19 16:48:12 +00:00
CMD_EXE = 1
endif
ifdef CMD_EXE
RMDIR = -rmdir /s /q $(subst /,\,$1)
else
RMDIR = $(RM) -r $1
endif
2017-03-19 16:48:12 +00:00
WORKDIR = ../testwrk
2015-06-26 22:03:45 +00:00
2016-06-01 21:51:43 +00:00
.PHONY: all dotests continue mostlyclean clean
all: dotests
.NOTPARALLEL:
2016-06-01 21:51:43 +00:00
dotests: mostlyclean continue
2017-03-19 16:48:12 +00:00
continue:
@$(MAKE) -C assembler all
@$(MAKE) -C disassembler all
2014-11-26 00:38:30 +00:00
@$(MAKE) -C val all
@$(MAKE) -C ref all
@$(MAKE) -C err all
@$(MAKE) -C misc all
2016-06-01 21:51:43 +00:00
mostlyclean:
2017-03-19 16:48:12 +00:00
@$(MAKE) -C assembler clean
@$(MAKE) -C disassembler clean
@$(MAKE) -C val clean
@$(MAKE) -C ref clean
@$(MAKE) -C err clean
2014-11-22 21:22:30 +00:00
@$(MAKE) -C misc clean
2016-06-01 21:51:43 +00:00
clean: mostlyclean
@$(call RMDIR,$(WORKDIR))