2 # top-level makefile for the regression tests
4 # You can comment this special target when you debug the regression tests.
5 # Then, make will give you more progress reports.
14 DEL = del /f $(subst /,\,$1)
15 MKDIR = mkdir $(subst /,\,$1)
16 RMDIR = rmdir /s /q $(subst /,\,$1)
28 .PHONY: all dotests continue mostly-clean clean
33 $(call MKDIR,$(WORKDIR))
35 $(WORKDIR)/bdiff$(EXE): bdiff.c | $(WORKDIR)
40 dotests: mostly-clean continue
42 continue: $(WORKDIR)/bdiff$(EXE)
52 @$(MAKE) -C misc clean
55 -@$(call DEL,$(WORKDIR)/bdiff$(EXE))
56 -@$(call RMDIR,$(WORKDIR))