summaryrefslogtreecommitdiff
path: root/clmake
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-04-13 19:33:58 +0300
committerAndrei Karas <akaras@inbox.ru>2011-04-13 19:33:58 +0300
commitd0cebb6e0e1ea10dc1d8a2a7670ac9e7e4663417 (patch)
tree62c18e198e81f6c662a9c9f49a0a7a1517be857f /clmake
parent4df91305cef4b57adfd83c2320ce954cfc369f92 (diff)
downloadmanaplus-d0cebb6e0e1ea10dc1d8a2a7670ac9e7e4663417.tar.gz
manaplus-d0cebb6e0e1ea10dc1d8a2a7670ac9e7e4663417.tar.bz2
manaplus-d0cebb6e0e1ea10dc1d8a2a7670ac9e7e4663417.tar.xz
manaplus-d0cebb6e0e1ea10dc1d8a2a7670ac9e7e4663417.zip
Add clang make file.
Diffstat (limited to 'clmake')
-rwxr-xr-xclmake16
1 files changed, 16 insertions, 0 deletions
diff --git a/clmake b/clmake
new file mode 100755
index 000000000..eec44c58f
--- /dev/null
+++ b/clmake
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+
+dir=`pwd`
+
+export LANG=C
+export CC=clang
+export CXX=clang++
+
+./configure --prefix=$dir/run \
+--datadir=$dir/run/share/games \
+--bindir=$dir/run/bin \
+--mandir=$dir/run/share/man
+
+make -j5 2>make2.log
+