1
0
mirror of https://github.com/cc65/cc65.git synced 2025-01-11 11:30:13 +00:00
cc65/test/Makefile

41 lines
708 B
Makefile
Raw Normal View History

2017-03-19 17:48:12 +01:00
# top-level Makefile for the regression tests
ifneq ($(shell echo),)
2017-03-19 17:48:12 +01:00
CMD_EXE = 1
endif
ifdef CMD_EXE
RMDIR = -rmdir /s /q $(subst /,\,$1)
else
RMDIR = $(RM) -r $1
endif
2017-03-19 17:48:12 +01:00
WORKDIR = ../testwrk
2015-06-27 00:03:45 +02:00
.PHONY: test continue mostlyclean clean
test: mostlyclean continue
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 standard all
2014-11-26 01:38:30 +01:00
@$(MAKE) -C misc all
@$(MAKE) -C todo all
2014-11-26 01:38:30 +01:00
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
@$(MAKE) -C val clean
@$(MAKE) -C ref clean
@$(MAKE) -C err clean
@$(MAKE) -C standard clean
2014-11-22 22:22:30 +01:00
@$(MAKE) -C misc clean
@$(MAKE) -C todo clean
2016-06-01 23:51:43 +02:00
clean: mostlyclean
@$(call RMDIR,$(WORKDIR))