]> git.sur5r.net Git - cc65/blobdiff - test/dasm/Makefile
Allow to control test Makefile output via QUIET (like libsrc).
[cc65] / test / dasm / Makefile
index f8942ef739ac00816aa39debbf740a0cf92c3ed7..d7071149117d779f9e10272b12469ef95d4427f2 100644 (file)
@@ -16,6 +16,10 @@ else
   DEL = $(RM) $1
 endif
 
+ifdef QUIET
+  .SILENT:
+endif
+
 CL65 := $(if $(wildcard ../../bin/cl65*),../../bin/cl65,cl65)
 DA65 := $(if $(wildcard ../../bin/da65*),../../bin/da65,da65)
 
@@ -52,6 +56,7 @@ $(WORKDIR)/$1-reass.s: $(WORKDIR)/$1-disass.bin
        $(DA65) --cpu $1 $(START) -o $$@ $$<
 
 $(WORKDIR)/$1-reass.bin: $(WORKDIR)/$1-reass.s $(DIFF)
+       $(if $(QUIET),echo dasm/$1-reass.bin)
        $(CL65) --cpu $1 -t none $(START) -o $$@ $$<
        $(DIFF) $$@ $(WORKDIR)/$1-disass.bin