This repository has been archived by the owner on Mar 16, 2022. It is now read-only.
forked from thegenemyers/DALIGNER
-
Notifications
You must be signed in to change notification settings - Fork 17
/
Makefile
58 lines (39 loc) · 1.87 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
DEST_DIR = ~/bin
# CFLAGS = -O0 -g -Wall -Wextra -Wno-unused-result -fno-strict-aliasing -fsanitize=address -fsanitize=undefined
# Above is for debug out of bound addresses, must compile with -lASAN -lUBSAN if gcc instead of clang
CFLAGS = -O3 -Wall -Wextra -Wno-unused-result -fno-strict-aliasing
ALL = daligner HPC.daligner LAsort LAmerge LAsplit LAcat LAshow LAdump LAcheck LAa2b LAb2a dumpLA
all: $(ALL)
daligner: daligner.c filter.c filter.h lsd.sort.c lsd.sort.h align.c align.h DB.c DB.h QV.c QV.h
gcc $(CFLAGS) -o daligner daligner.c filter.c lsd.sort.c align.c DB.c QV.c -lpthread -lm
HPC.daligner: HPC.daligner.c DB.c DB.h QV.c QV.h
gcc $(CFLAGS) -o HPC.daligner HPC.daligner.c DB.c QV.c -lm
LAsort: LAsort.c align.h DB.c DB.h QV.c QV.h
gcc $(CFLAGS) -o LAsort LAsort.c DB.c QV.c -lm
LAmerge: LAmerge.c align.h DB.c DB.h QV.c QV.h
gcc $(CFLAGS) -o LAmerge LAmerge.c DB.c QV.c -lm
LAshow: LAshow.c align.c align.h DB.c DB.h QV.c QV.h
gcc $(CFLAGS) -o LAshow LAshow.c align.c DB.c QV.c -lm
LAdump: LAdump.c align.c align.h DB.c DB.h QV.c QV.h
gcc $(CFLAGS) -o LAdump LAdump.c align.c DB.c QV.c -lm
LAcat: LAcat.c align.h DB.c DB.h QV.c QV.h
gcc $(CFLAGS) -o LAcat LAcat.c DB.c QV.c -lm
LAsplit: LAsplit.c align.h DB.c DB.h QV.c QV.h
gcc $(CFLAGS) -o LAsplit LAsplit.c DB.c QV.c -lm
LAcheck: LAcheck.c align.c align.h DB.c DB.h QV.c QV.h
gcc $(CFLAGS) -o LAcheck LAcheck.c align.c DB.c QV.c -lm
LAa2b: LAa2b.c align.c align.h DB.c DB.h QV.c QV.h
gcc $(CFLAGS) -o LAa2b LAa2b.c align.c DB.c QV.c -lm
LAb2a: LAb2a.c align.c align.h DB.c DB.h QV.c QV.h
gcc $(CFLAGS) -o LAb2a LAb2a.c align.c DB.c QV.c -lm
dumpLA: dumpLA.c align.c align.h DB.c DB.h QV.c QV.h
gcc $(CFLAGS) -o dumpLA dumpLA.c align.c DB.c QV.c -lm
clean:
rm -f $(ALL)
rm -fr *.dSYM
rm -f daligner.tar.gz
install:
cp $(ALL) $(DEST_DIR)
package:
make clean
tar -zcf daligner.tar.gz README.md Makefile *.h *.c