blob: cded0392dc006aff739e18cb5887bb07cad70673 (
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
|
$NetBSD: patch-aa,v 1.2 2005/11/03 19:45:20 rillig Exp $
--- src/Makefile.orig 2002-08-06 07:56:26.000000000 -0400
+++ src/Makefile 2003-09-27 19:11:59.000000000 -0400
@@ -7,7 +7,7 @@
#
# To allow decompression of gzipped PDB files on the fly, change the
# COPT line to
-COPT = -DGUNZIP_SUPPORT -g
+COPT = -DGUNZIP_SUPPORT
# COPT =
#
LINK1 =
@@ -29,11 +29,13 @@
bioplib/LegalAtomSpec.o bioplib/GetPDBChainLabels.o bioplib/DupePDB.o \
bioplib/TranslatePDB.o bioplib/AtomNameMatch.o bioplib/chindex.o
+all: profit
+
profit : $(OFILES) $(LFILES)
- $(CC) -g -o profit $(OFILES) $(LFILES) $(XMAS) -lm $(LINK2) $(XMASLIB)
+ $(CC) -o profit $(OFILES) ${LDFLAGS} $(LFILES) $(XMAS) -lm $(LINK2) $(XMASLIB)
.c.o : $(IFILES)
- $(CC) $(COPT) -o $@ -c $<
+ $(CC) $(COPT) ${CFLAGS} -o $@ -c $<
clean :
/bin/rm $(OFILES) $(LFILES)
|