diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-05-28 13:23:05 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-05-28 13:23:05 -0700 |
commit | a3056e665f4d200f46e5282921c0af23cdd55a85 (patch) | |
tree | a7d2f09bb94132705fe62d7f985408aad21dc53d | |
parent | 68c0b583ca09ff8f958c2c2738571a03d5e036d3 (diff) | |
download | mu-a3056e665f4d200f46e5282921c0af23cdd55a85.tar.gz |
1500
-rw-r--r-- | tangle/makefile | 5 |
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 |