summaryrefslogtreecommitdiff
path: root/build/clmake
diff options
context:
space:
mode:
Diffstat (limited to 'build/clmake')
-rwxr-xr-xbuild/clmake17
1 files changed, 17 insertions, 0 deletions
diff --git a/build/clmake b/build/clmake
new file mode 100755
index 000000000..a290af529
--- /dev/null
+++ b/build/clmake
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+cd ..
+
+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>build/make2.log
+