From c915a1b6847155248e1c6ccd11ff2cfac458985b Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Wed, 24 Feb 2016 13:45:49 -0500 Subject: eshtrans/Makefile: Add profiling and indent submake output --- (limited to 'eshtrans/Makefile') diff --git a/eshtrans/Makefile b/eshtrans/Makefile index 79a7d1d..29e6cb3 100644 --- a/eshtrans/Makefile +++ b/eshtrans/Makefile @@ -8,25 +8,25 @@ SOURCES = \ frontend/parser.esh \ frontend/lexer.esh OBJECTS1 = $(SOURCES:.esh=.sh1) -OBJECTS2 = $(SOURCES:.esh=.sh2) -OBJECTS3 = $(SOURCES:.esh=.sh3) +OBJECTS2 = $(SOURCES:.esh=.sh2) ../libeshprof/hooks.esh +OBJECTS3 = $(SOURCES:.esh=.sh3) ../libeshprof/hooks.esh bootstrap: stage3 stage1: @printf 'Stage 1:\n' - @time -p $(MAKE) eshtrans.stage1 + @time -p $(MAKE) eshtrans.stage1 2>&1 | sed 's/^/\t/' stage2: @printf 'Stage 1:\n' - @time -p $(MAKE) eshtrans.stage1 + @time -p $(MAKE) eshtrans.stage1 2>&1 | sed 's/^/\t/' @printf 'Stage 2:\n' - @time -p $(MAKE) eshtrans.stage2 + @time -p $(MAKE) eshtrans.stage2 2>&1 | sed 's/^/\t/' stage3: @printf 'Stage 1:\n' - @time -p $(MAKE) eshtrans.stage1 + @time -p $(MAKE) eshtrans.stage1 2>&1 | sed 's/^/\t/' @printf 'Stage 2:\n' - @time -p $(MAKE) eshtrans.stage2 + @time -p $(MAKE) eshtrans.stage2 2>&1 | sed 's/^/\t/' @printf 'Stage 3:\n' - @time -p $(MAKE) eshtrans.stage3 + @time -p $(MAKE) eshtrans.stage3 2>&1 | sed 's/^/\t/' clean: clean-stage1 clean-stage2 clean-stage3 clean-stage1: -- cgit v0.9.1