Skip to content

Commit

Permalink
- OSX compilation. Works with the NewTables package
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@15792 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Apr 11, 2013
1 parent e36a585 commit c5d0cdc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion SimulationRuntime/c/ModelicaExternalC/Makefile.common
Expand Up @@ -15,7 +15,7 @@ all: libModelicaExternalC.a ModelicaTables
ModelicaTables : $(TABLEBUILDDIR)/Makefile
$(MAKE) -C $(TABLEBUILDDIR)
$(TABLEBUILDDIR)/Makefile : $(TABLEBUILDDIR)/configure $(REGEN)
cd $(TABLEBUILDDIR) && ./configure CC="$(CC)" CFLAGS="$(CFLAGS)" CPPFLAGS="-Wno-unused-result $(CPPFLAGS)"
cd $(TABLEBUILDDIR) && ./configure $(PREFIX) CC="$(CC)" CFLAGS="$(CFLAGS)" CPPFLAGS="-Wno-unused-result $(CPPFLAGS)"
make -C $(TABLEBUILDDIR) clean
$(TABLEBUILDDIR)/configure : $(TABLEBUILDDIR)/autogen.sh
cd $(TABLEBUILDDIR) && ./autogen.sh
Expand Down
3 changes: 2 additions & 1 deletion SimulationRuntime/c/ModelicaExternalC/Makefile.in
Expand Up @@ -9,7 +9,8 @@ CXX = @CXX@
CFLAGS = @CFLAGS@ -I../util
CPPFLAGS = @CPPFLAGS@ -I.. -Dlinux
REGEN = Makefile.in
MODELICATABLES = libModelicaTables@SHREXT@*
MODELICATABLES = libModelicaTables*@SHREXT@*
PREFIX = --prefix="@prefix@" --libdir='$${exec_prefix}/lib/omc'

include Makefile.common

Expand Down

0 comments on commit c5d0cdc

Please sign in to comment.