1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-27 15:29:46 +00:00
cc65/test/Makefile
Jesse Rosenstock 878e4a57c8 Make Makefiles more -j friendly
Add .$1.$2 to outputs missing them.
2020-07-10 13:08:19 +02:00

39 lines
632 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
.PHONY: all dotests continue mostlyclean clean
all: dotests
dotests: mostlyclean continue
continue:
@$(MAKE) -C asm all
@$(MAKE) -C dasm all
@$(MAKE) -C val all
@$(MAKE) -C ref all
@$(MAKE) -C err all
@$(MAKE) -C misc all
mostlyclean:
@$(MAKE) -C asm clean
@$(MAKE) -C dasm clean
@$(MAKE) -C val clean
@$(MAKE) -C ref clean
@$(MAKE) -C err clean
@$(MAKE) -C misc clean
clean: mostlyclean
@$(call RMDIR,$(WORKDIR))