aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
diff options
context:
space:
mode:
authorUbitUmarov2015-09-28 11:57:16 +0100
committerUbitUmarov2015-09-28 11:57:16 +0100
commitb22ad8a69b1a77ec0fb98a1eb64cc8c9b44f2f40 (patch)
treed1f1e8a3420698f257d679d106bcdecab2807157 /Makefile
parent remove virtual declarations master doesnt have (diff)
downloadopensim-SC_OLD-b22ad8a69b1a77ec0fb98a1eb64cc8c9b44f2f40.zip
opensim-SC_OLD-b22ad8a69b1a77ec0fb98a1eb64cc8c9b44f2f40.tar.gz
opensim-SC_OLD-b22ad8a69b1a77ec0fb98a1eb64cc8c9b44f2f40.tar.bz2
opensim-SC_OLD-b22ad8a69b1a77ec0fb98a1eb64cc8c9b44f2f40.tar.xz
add missing Makefile from master, put me on contributors
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile43
1 files changed, 43 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..493cdca
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,43 @@
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
12
13all: prebuild
14 # @export PATH=/usr/local/bin:$(PATH)
15 ${NANT}
16 find OpenSim -name \*.mdb -exec cp {} bin \;
17
18release: prebuild
19 ${NANT} -D:project.config=Release
20 find OpenSim -name \*.mdb -exec cp {} bin \;
21
22prebuild:
23 ./runprebuild.sh
24
25clean:
26 # @export PATH=/usr/local/bin:$(PATH)
27 -${NANT} clean
28
29test: prebuild
30 ${NANT} test
31
32test-xml: prebuild
33 ${NANT} test-xml
34
35tags:
36 find OpenSim -name \*\.cs | xargs etags
37
38cscope-tags:
39 find OpenSim -name \*\.cs -fprint cscope.files
40 cscope -b
41
42include $(wildcard Makefile.local)
43