Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- added one Makefile more to SimulationRuntime/c
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@10393 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
- Loading branch information
Willi Braun
committed
Nov 10, 2011
1 parent
a06ec31
commit f647f87
Showing
1 changed file
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Adrian Pop, adrpo@ida.liu.se, Martin Sjölund, marsj@ida.liu.se | ||
# - Use make -f Makefile.omdev.mingw if you want to compile on Windows/MinGW | ||
# - Please leave the UNIX Makefile as it is if you are not using UNIX/Linux | ||
# If you need to add files, etc, you modify Makefile.common - a common file | ||
# for both UNIX/Linux and Windows platforms. | ||
|
||
CC = @CC@ | ||
ANSI= #-ansi | ||
CFLAGS := @CFLAGS@ -Wall $(ANSI) -pedantic $(EXTRA_CFLAGS) -mfpmath=sse -c -I.. | ||
CPPFLAGS := @CPPFLAGS@ -Wall $(ANSI) $(EXTRA_CFLAGS) -I. -I.. -I../../ -I../solver -I../../util -I../../linearization -I../results | ||
AR = ar -ru | ||
FFLAGS = -O -fexceptions | ||
|
||
OBJS = bigden.o enorm.o hybrd1.o nelmead.o qform.o r1updt.o \ | ||
biglag.o dogleg.o fdjac1.o hybrj.o newuoa.o qrfac.o trsapp.o \ | ||
dpmpar.o hybrd.o lsame.o newuob.o r1mpyq.o update.o \ | ||
simulation_events.o simulation_delay.o simulation_init.o dgesv_aux.o \ | ||
|
||
HFILES = blaswrap.h \ | ||
matrix.h \ | ||
ringbuffer.h \ | ||
simulation_delay.h \ | ||
simulation_events.h \ | ||
simulation_init.h \ | ||
|
||
|
||
LIBS = libmath-support.a | ||
|
||
.PHONY : libmath-support.a clear | ||
|
||
all : libmath-support.a | ||
|
||
libmath-support.a : $(OBJS) $(HFILES) | ||
$(AR) $@ $(OBJS) | ||
ranlib $@ | ||
|
||
clean : | ||
rm -f libmath-support.a | ||
rm -f $(OBJS) | ||
|
||
Makefile: Makefile.in | ||
cd ../../../../; ./config.status | ||
|