pkgsrc/misc/firelib/patches/patch-ab
minskim f35a42a804 Import firelib from pkgsrc-wip. Packaged by David Price and modified
by me.

C language function library for predicting the spread rate, intensity,
flame length, and scorch height of free-burning surface fires.  It is
derived directly from the BEHAVE fire behavior algorithms for
predicting fire spread in two dimensions, but is optimized for highly
iterative applications such as cell- or wave- based fire growth
simulation.
2005-05-19 13:03:56 +00:00

17 lines
416 B
Text

$NetBSD: patch-ab,v 1.1.1.1 2005/05/19 13:03:56 minskim Exp $
--- makefile.orig 1999-03-05 16:04:39.000000000 -0600
+++ makefile
@@ -2,9 +2,9 @@
# Collin D. Bevins, October 1996
# The following rules work for UnixWare 2.0.
-CC = cc
-CFLAGS = -g -DNDEBUG
-LIBS = -lm
+CC ?= cc
+CFLAGS ?= -g -DNDEBUG
+LIBS += -lm
fireSim: fireSim.o fireLib.o fireLib.h
$(CC) $(CFLAGS) fireSim.c fireLib.c -o fireSim $(LIBS)