about summary refs log tree commit diff stats
path: root/tangle
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-10-06 17:13:04 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-10-06 17:13:04 -0700
commitb4785580be3fd46f18e21ee8c92759d5481432ed (patch)
treee90d8c769e46c6afb204f2378a39ddcfe9ccc89a /tangle
parentd9ee2076d94a5eb8c502ff065295ac921fae40e2 (diff)
downloadmu-b4785580be3fd46f18e21ee8c92759d5481432ed.tar.gz
3450
Purge remaining `makefile`s, without breaking CI.
Diffstat (limited to 'tangle')
-rw-r--r--tangle/makefile25
1 files changed, 0 insertions, 25 deletions
diff --git a/tangle/makefile b/tangle/makefile
deleted file mode 100644
index 2b22e809..00000000
--- a/tangle/makefile
+++ /dev/null
@@ -1,25 +0,0 @@
-tangle: makefile type_list function_list file_list test_file_list test_list
-	c++ -O3 -Wall -Wextra -fno-strict-aliasing boot.cc -o tangle
-
-type_list: boot.cc [0-9]*.cc
-	@# assumes struct decl has space before '{'
-	@grep -h "^struct .* {" [0-9]*.cc |sed 's/\(struct *[^ ]*\).*/\1;/' > type_list
-	@grep -h typedef [0-9]*.cc >> type_list
-
-function_list: boot.cc [0-9]*.cc
-	@# assumes function decl has space before '{'
-	@grep -h "^[^ #].*) {" [0-9]*.cc |sed 's/ {.*/;/' > function_list
-
-file_list: boot.cc [0-9]*.cc
-	@ls [0-9]*.cc |grep -v "\.test\.cc$$" |sed 's/.*/#include "&"/' > file_list
-
-test_file_list: [0-9]*.test.cc
-	@ls [0-9]*.test.cc |sed 's/.*/#include "&"/' > test_file_list
-
-test_list: [0-9]*.cc
-	@grep -h "^[[:space:]]*void test_" [0-9]*.cc |sed 's/^\s*void \(.*\)() {$$/\1,/' > test_list
-
-.PHONY: clean
-
-clean:
-	-rm tangle *_list