openbsd-ports/math/mcsim/patches/patch-sim_Makefile
reinhard e4ae05eaea MCSim is a general purpose modeling and simulation program which
also performs standart or Monte Carlo simulations. It allows you
to specify a set of linear or nonlinear equations and solve them
using parameter values you choose or parameter values sampled
from specified statistical distributions. Outputs can be compared.
 
It consists of two pieces - a model generator and a simulation
engine. The model generator was created to facilitate the model
maintenance and simulation definition, while keeping execution
time fast. Other programs have been created to the same end, the
Matlab family of graphical interactive programs being some of the
more general and easy to use.

MAINTAINER=     Peter Valchev <pvalchev@toxiclinux.org>
2001-01-19 15:24:58 +00:00

31 lines
762 B
Plaintext

$OpenBSD: patch-sim_Makefile,v 1.1.1.1 2001/01/19 15:24:58 reinhard Exp $
--- sim/Makefile.orig Fri Nov 14 15:45:53 1997
+++ sim/Makefile Sun Jan 14 17:35:02 2001
@@ -62,8 +62,8 @@ MOD = mod
#
#>>>> Define the COMPILER name and LINKER name here only.
-CC = gcc
-LINK = gcc
+#CC = gcc
+LINK = $(CC)
#>>>> Define PATHS
# The include path should be a directory containing header
@@ -101,13 +101,13 @@ OBJPATH = o
#>>>> To compile with OPTIMIZATION uncomment the following lines
#
DEBUG_SYMBOLS = -DNDEBUG
-C_OPTIM_FLAG = -O
+C_OPTIM_FLAG = -O2
L_OPTIM_FLAG =
#
#>>>> Include any special warning flags
#
-WARNINGS = -Wall -ansi
+WARNINGS = -ansi
#--------------------
#**** You shouldn't need to change the next 2 lines. They are dependent