]> git.sur5r.net Git - cc65/blob - test/Makefile
Shortened test subdir names.
[cc65] / test / Makefile
1 # top-level Makefile for the regression tests
2
3 # You can comment this special target when you debug the regression tests.
4 # Then, make will give you more progress reports.
5 .SILENT:
6
7 ifneq ($(shell echo),)
8   CMD_EXE = 1
9 endif
10
11 ifdef CMD_EXE
12   RMDIR = -rmdir /s /q $(subst /,\,$1)
13 else
14   RMDIR = $(RM) -r $1
15 endif
16
17 WORKDIR = ../testwrk
18
19 .PHONY: all dotests continue mostlyclean clean
20
21 all: dotests
22
23 .NOTPARALLEL:
24
25 dotests: mostlyclean continue
26
27 continue:
28         @$(MAKE) -C asm all
29         @$(MAKE) -C dasm all
30         @$(MAKE) -C val all
31         @$(MAKE) -C ref all
32         @$(MAKE) -C err all
33         @$(MAKE) -C misc all
34
35 mostlyclean:
36         @$(MAKE) -C asm clean
37         @$(MAKE) -C dasm clean
38         @$(MAKE) -C val clean
39         @$(MAKE) -C ref clean
40         @$(MAKE) -C err clean
41         @$(MAKE) -C misc clean
42
43 clean: mostlyclean
44         @$(call RMDIR,$(WORKDIR))