]> rtime.felk.cvut.cz Git - boost-statechart-viewer.git/commitdiff
Add configure script to setup build environment
authorMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 22 Dec 2010 09:39:04 +0000 (10:39 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 22 Dec 2010 09:39:04 +0000 (10:39 +0100)
Makefile
configure [new file with mode: 0755]

index 085789d97e08f42f7fa1a3c38ae1130154bdb07a..2d2ff27276633409c544fb655e5fbc90d1a87b12 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-LLVM_SRC=/home/petr/llvm
+LLVM_SRC=llvm
 
 -include config.local
 
diff --git a/configure b/configure
new file mode 100755 (executable)
index 0000000..de65296
--- /dev/null
+++ b/configure
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+cd $(dirname $0)
+
+ln -sf ../../clang llvm/tools/clang
+mkdir -p llvm/_build
+cd llvm/_build
+../configure
+
+cat <<EOF
+To compile LLVM run the following comands:
+cd $PWD
+make
+EOF