Skip to content

Commit

Permalink
Don't include our f2c.h if we link against the one from the system
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@15167 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Feb 13, 2013
1 parent 9e26ff3 commit bfbc1e4
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions SimulationRuntime/interactive/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,14 @@ CC = @CC@
CXX = @CXX@
CFLAGS += @CFLAGS@
CXXFLAGS = $(CFLAGS)
CPPFLAGS = -I.. -Wall -I../c/simulation/results/ -I../c/linearization -I../c/simulation/solver/ -I../c/util/ -I../c/ -I../c/simulation/ -I../c/math-support/ -I../c/simulation/libf2c
#CPPFLAGS = -I.. -Wall
CPPFLAGS = -I.. -Wall -I../c/simulation/results/ -I../c/linearization -I../c/simulation/solver/ -I../c/util/ -I../c/ -I../c/simulation/ -I../c/math-support/ $(LIBF2CINC)

LIBF2C=@LIBF2C@
ifeq ($(LIBF2C),)
else
LIBF2CINC=-I../c/simulation/libf2c/
endif

OBJ = $(CPPSRC:.cpp=.o)

all: libinteractive.a SampleClient/client
Expand Down

0 comments on commit bfbc1e4

Please sign in to comment.