Skip to content

Commit

Permalink
- added missing c_runtime/ModelicaExternalC/Makefile
Browse files Browse the repository at this point in the history
- fixed ö from Linköping in ModelicaExternalC.cpp and included "../tables.h" instead of "tables.h"


git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@6034 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adrpo committed Sep 6, 2010
1 parent 4a45ac2 commit 48fa080
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
12 changes: 12 additions & 0 deletions c_runtime/ModelicaExternalC/Makefile
@@ -0,0 +1,12 @@

OBJS = ModelicaExternalC.o
AR = ar -ru

all: libModelicaExternalC.a

libModelicaExternalC.a : $(OBJS)
$(AR) $@ $(OBJS)
ranlib $@

ModelicaExternalC.o : ModelicaExternalC.cpp
g++ -O3 -c ModelicaExternalC.cpp -o ModelicaExternalC.o
8 changes: 4 additions & 4 deletions c_runtime/ModelicaExternalC/ModelicaExternalC.cpp
@@ -1,9 +1,9 @@
/*
* This file is part of OpenModelica.
*
* Copyright (c) 1998-CurrentYear, Linköping University,
* Copyright (c) 1998-CurrentYear, Linköping University,
* Department of Computer and Information Science,
* SE-58183 Linköping, Sweden.
* SE-58183 Linköping, Sweden.
*
* All rights reserved.
*
Expand All @@ -14,7 +14,7 @@
*
* The OpenModelica software and the Open Source Modelica
* Consortium (OSMC) Public License (OSMC-PL) are obtained
* from Linköping University, either from the above address,
* from Linköping University, either from the above address,
* from the URLs: http://www.ida.liu.se/projects/OpenModelica or
* http://www.openmodelica.org, and in the OpenModelica distribution.
* GNU version 3 is obtained from: http://www.gnu.org/copyleft/gpl.html.
Expand Down Expand Up @@ -48,7 +48,7 @@
#include <sys/types.h>
#include <unistd.h>
#endif
#include "tables.h"
#include "../tables.h"

#ifdef __cplusplus
extern "C" {
Expand Down

0 comments on commit 48fa080

Please sign in to comment.