]> rtime.felk.cvut.cz Git - boost-statechart-viewer.git/blobdiff - Makefile
Do not require C++11 capable compiler
[boost-statechart-viewer.git] / Makefile
index 6ad68ffe69cfe72f0ed88e548afaa1a49fb9780c..4aade4d4b1f14fb2d4b2a438f471c4efb18eaeb3 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,30 +1,8 @@
--include config.local
+all: src examples
 
-ifneq ($(wildcard llvm/_build),)
-# Use our version of clang (even without installing)
-LLVM_BIN= $(CURDIR)/_install/bin
+.PHONY: src examples
 
-LLVM_CONFIG := $(LLVM_BIN)/llvm-config
-
-export LLVM_CONFIG
-compile_llvm_target = _install/lib/libclang.so
-else
-compile_llvm_target = skip_llvm
-endif
-
-all: llvm src examples
-
-.PHONY: llvm src examples skip_llvm
-
-llvm: $(compile_llvm_target)
-
-_install/lib/libclang.so:
-       $(MAKE) -C llvm/_build install
-
-skip_llvm:
-       @echo "LLVM compilation skipped"
-
-src: llvm
+src:
        $(MAKE) -C src
 
 examples: src