about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-05-28 13:23:05 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-05-28 13:23:05 -0700
commita3056e665f4d200f46e5282921c0af23cdd55a85 (patch)
treea7d2f09bb94132705fe62d7f985408aad21dc53d
parent68c0b583ca09ff8f958c2c2738571a03d5e036d3 (diff)
downloadmu-a3056e665f4d200f46e5282921c0af23cdd55a85.tar.gz
1500
-rw-r--r--tangle/makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/tangle/makefile b/tangle/makefile
index caf13965..1086f287 100644
--- a/tangle/makefile
+++ b/tangle/makefile
@@ -1,6 +1,11 @@
 tangle: makefile type_list function_list file_list test_file_list test_list
 	c++ -g -O3 -Wall -Wextra -fno-strict-aliasing boot.cc -o tangle
 
+.PHONY: test
+
+test: tangle
+	./tangle test
+
 type_list: boot.cc [0-9]*.cc
 	@# assumes struct decl has space before '{'
 	@grep -h "^struct .* {" [0-9]*.cc |perl -pwe 's/(struct *[^ ]*).*/$$1;/' > type_list