enhancing Makefile to avoid colorification when running inside emacs...

This commit is contained in:
Dr Scofield
2008-07-25 12:51:01 +00:00
parent f7e636570f
commit 60ed8c3822

View File

@@ -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