Skip to content

Commit

Permalink
Do not use cp -u
Browse files Browse the repository at this point in the history
OSX does not allow -u for cp commands. Also disabled copying of .so-
files into the bin directory on Linux/OSX.
  • Loading branch information
sjoelund committed May 11, 2016
1 parent 4d5ce50 commit 938a179
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile.common
Expand Up @@ -417,11 +417,11 @@ sundials: 3rdParty/sundials/CMakeLists.txt umfpack
$(MAKE) -C 3rdParty/sundials/build install
# adrpo: do not copy the headers as they are not needed!
mkdir -p $(OMBUILDDIR)/include/omc/c/sundials
(cp -pufr 3rdParty/sundials/build/include/* $(OMBUILDDIR)/include/omc/c/sundials)
(cp -pfr 3rdParty/sundials/build/include/* $(OMBUILDDIR)/include/omc/c/sundials)
# copy the libs to the build/lib/omc directory
(cp -puf 3rdParty/sundials/build/lib/* $(builddir_lib_omc))
(cp -pf 3rdParty/sundials/build/lib/* $(builddir_lib_omc))
# copy the dlls to the build bin directory
(cp -puf 3rdParty/sundials/build/lib/*$(SHREXT) $(builddir_bin))
test ! "$(SHREXT)" = ".dll" || (cp -pf 3rdParty/sundials/build/lib/*$(SHREXT) $(builddir_bin))
clean-sundials:
if test -d 3rdParty/sundials/build ; then cd 3rdParty/sundials/build && make clean ; fi
rm -rf $(OMBUILDDIR)/include/omc/cpp/sundials
Expand Down

0 comments on commit 938a179

Please sign in to comment.