pkgsrc/biology/coalesce/patches/patch-aa
jschauma ed400565a2 Initial import of coalesce, one of the many packages provided by
brook at biology dot nmsu dot edu and his team at NMSU.

COALESCE fits the model which has a single population of constant size, and
estimates 4Nu, where N is the effective population size and u is the neutral
mutation rate per site.
2003-09-30 01:03:56 +00:00

31 lines
923 B
Text

$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