aboutsummaryrefslogtreecommitdiff
path: root/tracer/include/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tracer/include/makefile')
-rw-r--r--tracer/include/makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/tracer/include/makefile b/tracer/include/makefile
index 8bb6914..6e8f00a 100644
--- a/tracer/include/makefile
+++ b/tracer/include/makefile
@@ -58,7 +58,9 @@ $(dist):
# Test.
#
$(test): $(driver) $(src_base)/test.std
- $(call message,test $<,$< | diff -u $(src_base)/test.std -)
+ $(call message,test $<,$< >$(out_base)/test.out)
+ $(call message,,diff -u $(src_base)/test.std $(out_base)/test.out)
+ $(call message,,rm -f $(out_base)/test.out)
# Clean.
#
@@ -67,6 +69,7 @@ $(clean): \
$(addsuffix .cxx.clean,$(cxx_obj)) \
$(addsuffix .cxx.clean,$(cxx_od)) \
$(addprefix $(out_base)/,$(odb_hdr:.hxx=-odb.cxx.hxx.clean))
+ $(call message,,rm -f $(out_base)/test.out)
# Generated .gitignore.
#