Skip to content

Commit 7428270

Browse files
committed
Parallelize cpp runtime builds
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@18387 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
1 parent ec2632d commit 7428270

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

SimulationRuntime/cpp/Makefile

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,11 @@ builddir_lib=$(top_builddir)/build/lib/omc
99
builddir_inc=$(top_builddir)/build/include/omc
1010

1111
runtimeCpp:
12-
cd ./Build; echo "change to Build"; \
13-
cmake -D CMAKE_INSTALL_PREFIX:PATH="$(builddir_build)" ../; \
14-
make
15-
16-
12+
cd ./Build && echo "change to Build" && cmake -D CMAKE_INSTALL_PREFIX:PATH="$(builddir_build)" ../
13+
$(MAKE) -C Build
1714

1815
install: runtimeCpp
19-
(cd Build; make install)
20-
16+
(cd Build; $(MAKE) install)
2117

2218
clean:
2319
rm -R -f Build

0 commit comments

Comments
 (0)