summaryrefslogtreecommitdiff
path: root/erlang/OMakefile
diff options
context:
space:
mode:
authorUENISHI Kota <kuenishi+github@gmail.com>2010-05-31 00:25:53 +0900
committerUENISHI Kota <kuenishi+github@gmail.com>2010-05-31 00:25:53 +0900
commitd7d78d9a2b77df0661fb0cd6b0be7b565e6f7a25 (patch)
treeb9e355b977e95412179fb90e6ff9251d4cf994df /erlang/OMakefile
parent6b5b76b0c908c338dbc4aaa86aa42722da4adca3 (diff)
downloadmsgpack-python-d7d78d9a2b77df0661fb0cd6b0be7b565e6f7a25.tar.gz
added more tests,
and OMake continuous building.
Diffstat (limited to 'erlang/OMakefile')
-rw-r--r--erlang/OMakefile42
1 files changed, 42 insertions, 0 deletions
diff --git a/erlang/OMakefile b/erlang/OMakefile
new file mode 100644
index 0000000..ee72f78
--- /dev/null
+++ b/erlang/OMakefile
@@ -0,0 +1,42 @@
+########################################################################
+# Permission is hereby granted, free of charge, to any person
+# obtaining a copy of this file, to deal in the File without
+# restriction, including without limitation the rights to use,
+# copy, modify, merge, publish, distribute, sublicense, and/or
+# sell copies of the File, and to permit persons to whom the
+# File is furnished to do so, subject to the following condition:
+#
+# THE FILE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+# OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
+# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
+# OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE FILE OR
+# THE USE OR OTHER DEALINGS IN THE FILE.
+
+########################################################################
+# The standard OMakefile.
+# You will usually need to modify this file for your project.
+
+########################################################################
+# Phony targets are scoped, so you probably want to declare them first.
+#
+
+.PHONY: all clean test #install
+
+########################################################################
+# Subdirectories.
+# You may want to include some subdirectories in this project.
+# If so, define the subdirectory targets and uncomment this section.
+#
+
+.DEFAULT: msgpack.beam
+
+msgpack.beam: msgpack.erl
+ erlc $<
+
+test: msgpack.beam
+ erl -s msgpack test -s init stop
+
+clean:
+ -rm *.beam