From a3056e665f4d200f46e5282921c0af23cdd55a85 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Thu, 28 May 2015 13:23:05 -0700 Subject: 1500 --- tangle/makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tangle/makefile') 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 -- cgit 1.4.1-2-gfad0