diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -1,4 +1,14 @@ | |||
1 | NANT = $(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 | |||
6 | RUBY = $(strip $(shell which ruby 2>/dev/null)) | ||
7 | ifeq ($(RUBY),) | ||
8 | NANT = nant | ||
9 | else | ||
10 | NANT = $(shell if test "$$EMACS" = "t" ; then echo "nant"; else echo "./nant-color"; fi) | ||
11 | endif | ||
2 | 12 | ||
3 | all: prebuild | 13 | all: prebuild |
4 | # @export PATH=/usr/local/bin:$(PATH) | 14 | # @export PATH=/usr/local/bin:$(PATH) |
@@ -14,7 +24,7 @@ prebuild: | |||
14 | 24 | ||
15 | clean: | 25 | clean: |
16 | # @export PATH=/usr/local/bin:$(PATH) | 26 | # @export PATH=/usr/local/bin:$(PATH) |
17 | ${NANT} clean | 27 | -${NANT} clean |
18 | 28 | ||
19 | test: prebuild | 29 | test: prebuild |
20 | ${NANT} test | 30 | ${NANT} test |