From c0ca49e19386c5d3a632992467e20d9c2c66b10a Mon Sep 17 00:00:00 2001 From: Jens Frenkel Date: Tue, 19 Jun 2012 09:33:56 +0000 Subject: [PATCH] - add make files for cpp runtime call cmake git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@12104 f25d12d1-65f4-0310-ae8a-bbce733d8d8e --- SimulationRuntime/cpp/Makefile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 SimulationRuntime/cpp/Makefile diff --git a/SimulationRuntime/cpp/Makefile b/SimulationRuntime/cpp/Makefile new file mode 100644 index 00000000000..312b0426a28 --- /dev/null +++ b/SimulationRuntime/cpp/Makefile @@ -0,0 +1,21 @@ +# Adrian Pop, adrpo@ida.liu.se, 2006-02-01 +# Makefile for compilation of OMC using OMDev-mingw +# OMDev-mingw: http://www.ida.liu.se/~adrpo/omc/omdev/ + +top_builddir = ../../.. +builddir_build=$(top_builddir)/build +builddir_bin=$(top_builddir)/build/bin +builddir_lib=$(top_builddir)/build/lib/omc +builddir_inc=$(top_builddir)/build/include/omc + +runtimeCpp: + cd ./Build; echo "change to Build"; \ + cmake -D CMAKE_INSTALL_PREFIX:PATH="$(builddir_build)" MAKE_CXX_COMPILER=g++ ../Source; \ + make + +install: runtimeCpp + (cd Build; make install) + +clean: + rm -R -f Build + mkdir Build \ No newline at end of file