-
Notifications
You must be signed in to change notification settings - Fork 33
/
Makefile
83 lines (56 loc) · 2.28 KB
/
Makefile
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
77
78
79
80
81
82
83
DEST_DIR = ~/bin
CFLAGS = -O3 -Wall -Wextra -Wno-unused-result -fno-strict-aliasing
ALL = fasta2DB DB2fasta quiva2DB DB2quiva DBsplit DBdust Catrack DBshow DBstats DBrm DBmv DBcp \
simulator fasta2DAM DAM2fasta rangen arrow2DB DB2arrow DBwipe DBtrim DB2ONE
all: $(ALL)
fasta2DB: fasta2DB.c DB.c DB.h QV.c QV.h
gcc $(CFLAGS) -o fasta2DB fasta2DB.c DB.c QV.c -lm
DB2fasta: DB2fasta.c DB.c DB.h QV.c QV.h
gcc $(CFLAGS) -o DB2fasta DB2fasta.c DB.c QV.c -lm
quiva2DB: quiva2DB.c DB.c DB.h QV.c QV.h
gcc $(CFLAGS) -DINTERACTIVE -o quiva2DB quiva2DB.c DB.c QV.c -lm
DB2quiva: DB2quiva.c DB.c DB.h QV.c QV.h
gcc $(CFLAGS) -o DB2quiva DB2quiva.c DB.c QV.c -lm
DB2arrow: DB2arrow.c DB.c QV.c DB.h QV.h
gcc $(CFLAGS) -o DB2arrow DB2arrow.c DB.c QV.c -lz
arrow2DB: arrow2DB.c DB.c QV.c DB.h QV.h
gcc $(CFLAGS) -o arrow2DB arrow2DB.c DB.c QV.c -lz
DBsplit: DBsplit.c DB.c DB.h QV.c QV.h
gcc $(CFLAGS) -o DBsplit DBsplit.c DB.c QV.c -lm
DBtrim: DBtrim.c DB.c DB.h QV.c QV.h
gcc $(CFLAGS) -o DBtrim DBtrim.c DB.c QV.c -lm
DBdust: DBdust.c DB.c DB.h QV.c QV.h
gcc $(CFLAGS) -o DBdust DBdust.c DB.c QV.c -lm
Catrack: Catrack.c DB.c DB.h QV.c QV.h
gcc $(CFLAGS) -o Catrack Catrack.c DB.c QV.c -lm
DBshow: DBshow.c DB.c DB.h QV.c QV.h
gcc $(CFLAGS) -o DBshow DBshow.c DB.c QV.c -lm
DB2ONE: DB2ONE.c DB.c DB.h QV.c QV.h ONElib.c ONElib.h
gcc $(CFLAGS) -o DB2ONE DB2ONE.c DB.c QV.c ONElib.c -lm
DBstats: DBstats.c DB.c DB.h QV.c QV.h
gcc $(CFLAGS) -o DBstats DBstats.c DB.c QV.c -lm
DBrm: DBrm.c DB.c DB.h QV.c QV.h
gcc $(CFLAGS) -o DBrm DBrm.c DB.c QV.c -lm
DBmv: DBmv.c DB.c DB.h QV.c QV.h
gcc $(CFLAGS) -DMOVE -o DBmv DBmv.c DB.c QV.c -lm
DBcp: DBmv.c DB.c DB.h QV.c QV.h
gcc $(CFLAGS) -o DBcp DBmv.c DB.c QV.c -lm
simulator: simulator.c DB.c DB.h QV.c QV.h
gcc $(CFLAGS) -o simulator simulator.c DB.c QV.c -lm
rangen: rangen.c
gcc $(CFLAGS) -o rangen rangen.c
fasta2DAM: fasta2DAM.c DB.c DB.h QV.c QV.h
gcc $(CFLAGS) -o fasta2DAM fasta2DAM.c DB.c QV.c -lm
DAM2fasta: DAM2fasta.c DB.c DB.h QV.c QV.h
gcc $(CFLAGS) -o DAM2fasta DAM2fasta.c DB.c QV.c -lm
DBwipe: DBwipe.c DB.c DB.h QV.c QV.h
gcc $(CFLAGS) -o DBwipe DBwipe.c DB.c QV.c -lm
clean:
rm -f $(ALL)
rm -fr *.dSYM
rm -f dazz.db.tar.gz
install:
cp $(ALL) $(DEST_DIR)
package:
make clean
tar -zcf dazz.db.tar.gz README.md Makefile *.h *.c