aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 12 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 46ddc2f..493cdca 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,14 @@
1NANT = $(shell if test "$$EMACS" = "t" ; then echo "nant"; else echo "./nant-color"; fi) 1# hey, emacs! this is a -*- makefile -*-
2#
3# OpenSim makefile
4#
5
6RUBY = $(strip $(shell which ruby 2>/dev/null))
7ifeq ($(RUBY),)
8NANT = nant
9else
10NANT = $(shell if test "$$EMACS" = "t" ; then echo "nant"; else echo "./nant-color"; fi)
11endif
2 12
3all: prebuild 13all: prebuild
4 # @export PATH=/usr/local/bin:$(PATH) 14 # @export PATH=/usr/local/bin:$(PATH)
@@ -14,7 +24,7 @@ prebuild:
14 24
15clean: 25clean:
16 # @export PATH=/usr/local/bin:$(PATH) 26 # @export PATH=/usr/local/bin:$(PATH)
17 ${NANT} clean 27 -${NANT} clean
18 28
19test: prebuild 29test: prebuild
20 ${NANT} test 30 ${NANT} test