From 60ed8c38220f665aed52fdeca72428211d4d6d66 Mon Sep 17 00:00:00 2001 From: Dr Scofield Date: Fri, 25 Jul 2008 12:51:01 +0000 Subject: enhancing Makefile to avoid colorification when running inside emacs... --- Makefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b863345..af504ac 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,15 @@ +NANT = $(shell if test "$$EMACS" = "t" ; then echo "nant"; else echo "./nant-color"; fi) + all: - export PATH=/usr/local/bin:$(PATH) + @export PATH=/usr/local/bin:$(PATH) ./runprebuild.sh - ./nant-color + ${NANT} find OpenSim -name \*.mdb -exec cp {} bin \; clean: - export PATH=/usr/local/bin:$(PATH) - ./nant-color clean + @export PATH=/usr/local/bin:$(PATH) + ${NANT} clean tags: find OpenSim -name \*\.cs | xargs etags + -- cgit v1.1