Skip to content

Commit

Permalink
- Some fixes for FMI import to compile under UNIX
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@10000 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Oct 4, 2011
1 parent 2bf3a71 commit a4a6f59
Show file tree
Hide file tree
Showing 4 changed files with 152 additions and 146 deletions.
29 changes: 29 additions & 0 deletions FMI/import/source/Makefile.in
@@ -0,0 +1,29 @@
# Project: Code Generator for FMU Import to OpenModelica 1.7.0
# Author: Wuzhu Chen, TU-Clausthal

CC = @CC@
RES =
OBJS = xmlparser.o stack.o fmuWrapper.o moGenerator.o $(RES)
LINKOBJS = $(OBJS)
LIBS = -lexpat
INCS =
CXXINCS = -I"../include/"
BIN = ../../../build/bin/fmigenerator
CXXFLAGS = $(CXXINCS)
CFLAGS = @CFLAGS@
CPPFLAGS = -I"../../../build/include/omc"
RM = rm -f

.PHONY: all all-before all-after clean clean-custom

all: all-before $(BIN) all-after

clean: clean-custom
${RM} $(OBJS) $(BIN)

$(BIN): $(OBJS)
$(CC) -Wall -o $(CPPFLAGS) $(BIN) $(LINKOBJS) $(LIBS)

Makefile: Makefile.in
(cd ../../../ ; ./config.status)

1 change: 0 additions & 1 deletion FMI/import/source/fmuWrapper.h
Expand Up @@ -2,7 +2,6 @@
#define FMUWRAPPER_H
#endif

#include <windows.h>
#include "fmiModelFunctions.h"
#include "xmlparser.h"
#define COMBINENAME(a,b) a##_##b
Expand Down

0 comments on commit a4a6f59

Please sign in to comment.