Skip to content

Commit

Permalink
Adrian Pop, 2006-01-28
Browse files Browse the repository at this point in the history
- fixes the compilation of libruntime on MINGW32
- now it compiles using mingw make

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2052 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adrpo committed Jan 28, 2006
1 parent c4f3dd7 commit 9c6a908
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion c_runtime/Makefile
Expand Up @@ -5,6 +5,8 @@ CFLAGS = -g -Wall -ansi -pedantic -I../mosh/src/
CPPFLAGS = $(CFLAGS)
FFLAGS = -O
# P.A: before, g77 had -O3 or -O2 but that caused a bug in DDASRT, giving infinite loop.
OSTYP = $(OSTYPE)
OS_MSYS=msys

FSRCS = daux.f \
ddasrt.f \
Expand Down Expand Up @@ -39,7 +41,12 @@ libsim.a : $(SIMOBJS)
$(AR) $@ $(SIMOBJS)

libf2c.a :
cd libf2c && $(MAKE) -f makefile.u
ifeq ($(OSTYP),$(OS_MSYS))
cd libf2c && $(MAKE) -f makefile.mingw
else
cd libf2c && $(MAKE) -f makefile.u
endif


clean :
cd ./libf2c && $(MAKE) -f makefile.u clean
Expand Down

0 comments on commit 9c6a908

Please sign in to comment.