1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-22 12:30:41 +00:00
cc65/test/asm/Makefile

37 lines
648 B
Makefile

# top-level Makefile for the regression tests
ifneq ($(shell echo),)
CMD_EXE = 1
endif
ifdef CMD_EXE
RMDIR = -rmdir /s /q $(subst /,\,$1)
else
RMDIR = $(RM) -r $1
endif
WORKDIR = ../testwrk/asm
.PHONY: all continue mostlyclean clean
all: mostlyclean continue
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
clean: mostlyclean
@$(call RMDIR,$(WORKDIR))