From e309b9e82ded3ece3985a214cbd432b45de1ba4d Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Mon, 12 Sep 2016 10:33:15 -0700 Subject: 3342 --- makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'makefile') diff --git a/makefile b/makefile index 7adfaf2d..5a95db52 100644 --- a/makefile +++ b/makefile @@ -6,6 +6,13 @@ all: mu_bin core.mu +# beware: if you introduce or delete functions the makefile isn't smart enough +# to recompute dependencies. You have to manually run 'make redo' to recreate +# the .build/ directory from scratch. +redo: + rm -rf .build + @make + CXX ?= c++ CXXFLAGS ?= -g -O3 CXXFLAGS := ${CXXFLAGS} -Wall -Wextra -ftrapv -fno-strict-aliasing @@ -67,7 +74,7 @@ test_list: mu.cc .build/global_declarations_list: .build/global_definitions_list @grep ';' .build/global_definitions_list |perl -pwe 's/[=(].*/;/' |perl -pwe 's/^[^\/# ]/extern $$&/' |perl -pwe 's/^extern extern /extern /' > .build/global_declarations_list -.PHONY: all clean clena +.PHONY: all redo clean clena clena: clean clean: -- cgit 1.4.1-2-gfad0 horough tests → More comprehensible and rewrite-friendly software → More resilient society.Kartik K. Agaram <vc@akkartik.com>
about summary refs log blame commit diff stats
path: root/070new-stream.subx
blob: e1bea31486d9b0be7f68b444f14fd767305688f5 (plain) (tree)
1
2
3
4
5
6
7
8
9