summaryrefslogtreecommitdiff
path: root/biology/stride/patches/patch-aa
blob: a6507c2f7034e8340aa20d3d15fb8522cd653c67 (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
$NetBSD: patch-aa,v 1.1.1.1 2003/09/27 23:46:56 jschauma Exp $

--- Makefile.orig	2003-09-27 19:39:02.000000000 -0400
+++ Makefile	2003-09-27 19:39:47.000000000 -0400
@@ -1,18 +1,19 @@
 #CC = gcc -O2  # ->> for DJGPP compiler under DOS and for SunOS; also suitable for other machines
 
-CC = cc -O2
 FLAGS = -lm  -o
 
 SOURCE = stride.c splitstr.c rdpdb.c initchn.c geometry.c thr2one.c one2thr.c filename.c tolostr.c strutil.c place_h.c hbenergy.c memory.c helix.c sheet.c rdmap.c phipsi.c command.c molscr.c die.c hydrbond.c mergepat.c fillasn.c escape.c p_jrnl.c p_rem.c p_atom.c p_helix.c p_sheet.c p_turn.c p_ssbond.c p_expdta.c p_model.c p_compnd.c report.c nsc.c area.c ssbond.c chk_res.c chk_atom.c turn.c pdbasn.c dssp.c outseq.c chkchain.c elem.c measure.c asngener.c p_endmdl.c stred.c
 
 OBJECT = ${SOURCE:.c=.o} 
 
+all: stride
+
 .c.o: 
-	$(CC) -c $< -o $@
+	$(CC) ${CFLAGS} -c $< -o $@
 
 
 stride : $(OBJECT)
-	$(CC) $(OBJECT) $(FLAGS)  stride
+	$(CC) $(OBJECT) ${LDFLAGS} $(FLAGS)  stride
 
 $(OBJECT) : stride.h protot.h