blob: 274bffe0159d72b1acb9f8709864ef2f3989e121 (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
$NetBSD: patch-ab,v 1.1.1.1 2003/10/04 19:13:33 jschauma Exp $
--- Makefile.orig 2000-08-17 12:17:18.000000000 -0400
+++ Makefile 2003-09-28 17:05:26.000000000 -0400
@@ -6,9 +6,9 @@
LDLIB = .
LIBOBJS = p2clib.o
#CC= gcc
-CC= cc
-CFLAGS= -O -L$(LDLIB) -lp2c -lm -I$(INCLIB)
-LFLAGS= -c
+#CC= cc
+MYCFLAGS= -O -L$(LDLIB) -lp2c -lm -I$(INCLIB)
+LFLAGS+= -c
PROGS= dbstat getloc getob identify prot2nuc reform ribosome splitdb shuffle flat2phyl phyl2flat
@@ -22,45 +22,45 @@
# Making the p2c runtime library
libp2c.a: $(LIBOBJS)
- ar r libp2c.a $(LIBOBJS); ranlib libp2c.a
+ ${AR} r libp2c.a $(LIBOBJS); ranlib libp2c.a
p2clib.o: p2clib.c
- $(CC) $(LFLAGS) p2clib.c
+ $(CC) $(LFLAGS) ${CFLAGS} p2clib.c
#libp2c.a: libp2c.a
# ranlib libp2c.a
# Making the programs
dbstat :
- $(CC) dbstat.c $(CFLAGS) -o dbstat
+ $(CC) dbstat.c $(MYCFLAGS) ${CFLAGS} -o dbstat
flat2phyl :
- $(CC) flat2phyl.c $(CFLAGS) -o flat2phyl
+ $(CC) flat2phyl.c $(MYCFLAGS) ${CFLAGS} -o flat2phyl
phyl2flat :
- $(CC) phyl2flat.c $(CFLAGS) -o phyl2flat
+ $(CC) phyl2flat.c $(MYCFLAGS) ${CFLAGS} -o phyl2flat
getloc :
- $(CC) getloc.c $(CFLAGS) -o getloc
+ $(CC) getloc.c $(MYCFLAGS) ${CFLAGS} -o getloc
getob :
- $(CC) getob.c $(CFLAGS) -o getob
+ $(CC) getob.c $(MYCFLAGS) ${CFLAGS} -o getob
identify :
- $(CC) identify.c $(CFLAGS) -o identify
+ $(CC) identify.c $(MYCFLAGS) ${CFLAGS} -o identify
prot2nuc :
- $(CC) prot2nuc.c $(CFLAGS) -o prot2nuc
+ $(CC) prot2nuc.c $(MYCFLAGS) ${CFLAGS} -o prot2nuc
reform :
- $(CC) reform.c $(CFLAGS) -o reform
+ $(CC) reform.c $(MYCFLAGS) ${CFLAGS} -o reform
ribosome :
- $(CC) ribosome.c $(CFLAGS) -o ribosome
+ $(CC) ribosome.c $(MYCFLAGS) ${CFLAGS} -o ribosome
shuffle :
- $(CC) shuffle.c $(CFLAGS) -o shuffle
+ $(CC) shuffle.c $(MYCFLAGS) ${CFLAGS} -o shuffle
splitdb :
- $(CC) splitdb.c $(CFLAGS) -o splitdb
+ $(CC) splitdb.c $(MYCFLAGS) ${CFLAGS} -o splitdb
|