2014-11-22 17:28:05 +00:00
|
|
|
|
|
|
|
# toplevel makefile for the regression tests
|
|
|
|
|
|
|
|
MAKE := make --no-print-dir
|
|
|
|
|
2014-11-24 19:57:58 +00:00
|
|
|
ifneq ($(shell echo),)
|
|
|
|
CMD_EXE = 1
|
|
|
|
endif
|
2014-11-22 17:28:05 +00:00
|
|
|
|
2014-11-24 19:57:58 +00:00
|
|
|
ifdef CMD_EXE
|
|
|
|
RM := del /f
|
|
|
|
EXE := .exe
|
|
|
|
else
|
|
|
|
RM := rm -f
|
|
|
|
EXE :=
|
|
|
|
endif
|
|
|
|
|
|
|
|
.PHONY: dotests clean
|
|
|
|
|
|
|
|
all: dotests
|
|
|
|
|
|
|
|
bdiff:
|
|
|
|
@$(CC) -o bdiff$(EXE) bdiff.c
|
|
|
|
|
|
|
|
dotests: bdiff
|
2014-11-23 11:18:19 +00:00
|
|
|
@$(MAKE) -C val clean all
|
|
|
|
@$(MAKE) -C ref clean all
|
|
|
|
@$(MAKE) -C err clean all
|
|
|
|
@$(MAKE) -C misc clean all
|
2014-11-22 17:28:05 +00:00
|
|
|
|
|
|
|
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
|
2014-11-24 19:57:58 +00:00
|
|
|
@$(RM) bdiff$(EXE)
|