summaryrefslogtreecommitdiff
path: root/biology/coalesce/patches/patch-aa
blob: fcc1df0d663880638adfb6a4765f74f0e929827c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
$NetBSD: patch-aa,v 1.1.1.1 2003/09/30 01:03:56 jschauma Exp $

--- Makefile.orig	1996-02-29 11:00:09.000000000 -0500
+++ Makefile	2003-09-29 20:51:32.000000000 -0400
@@ -1,20 +1,20 @@
 LIBS    = -lm
 BINDIR  = ./bin
-CFLAGS  = -g
-CC        = cc $(CFLAGS)
+#CFLAGS  = -g
+#CC        = cc $(CFLAGS)
 DCC     = gcc -g -DDMALLOC_FUNC_CHECK -ansi -pedantic
 DLIBS   = -lm -L/usr/local/lib -ldmalloc
 # -O
 PROGS   =          coalesce fluctuate
 
 coalesce :  coalesce.c constants.h lamarc.h
-	$(CC) coalesce.c $(LIBS) -o coalesce
+	$(CC) ${CFLAGS} coalesce.c ${LDFLAGS} $(LIBS) -o coalesce
 
 modellike.o : modellike.c
-	$(CC) -c modellike.c
+	$(CC) ${CFLAGS} -c modellike.c
 
 fluctuate.o : fluctuate.c
-	$(CC) -c fluctuate.c
+	$(CC) ${CFLAGS} -c fluctuate.c
 
 fluctuate : fluctuate.o modellike.o
-	$(CC) fluctuate.o modellike.o $(LIBS) -o fluctuate
+	$(CC) ${CFLAGS} fluctuate.o modellike.o ${LDFLAGS} $(LIBS) -o fluctuate