]> git.donarmstrong.com Git - biopieces.git/blob - code_c/Maasha/src/Makefile
fixed bug in remove_indels
[biopieces.git] / code_c / Maasha / src / Makefile
1 # Martin Asser Hansen (mail@maasha.dk) Copyright (C) 2008 - All right reserved
2
3 CC      = gcc
4 # CFLAGS = -Wall -Werror
5 CFLAGS = -Wall -Werror -g -pg # for gprof
6
7 INC_DIR  = inc/
8 LIB_DIR  = lib/
9 TEST_DIR = test/
10
11 INC = -I $(INC_DIR)
12 LIB = -lm $(LIB_DIR)*.o
13
14 all: libs utest bed2fixedstep bed2tag_contigs bed_sort bipartite_scan bipartite_decode fasta_count repeat-O-matic
15
16 libs:
17         cd $(LIB_DIR) && ${MAKE} all
18
19 utest:
20         cd $(TEST_DIR) && ${MAKE} all
21
22 bed2fixedstep: bed2fixedstep.c
23         $(CC) $(CFLAGS) $(INC) $(LIB) bed2fixedstep.c -o bed2fixedstep
24
25 bed2tag_contigs: bed2tag_contigs.c
26         $(CC) $(CFLAGS) $(INC) $(LIB) bed2tag_contigs.c -o bed2tag_contigs
27
28 bed_sort: bed_sort.c
29         $(CC) $(CFLAGS) $(INC) $(LIB) bed_sort.c -o bed_sort
30
31 bipartite_scan: bipartite_scan.c
32         $(CC) $(CFLAGS) $(INC) $(LIB) bipartite_scan.c -o bipartite_scan
33
34 bipartite_decode: bipartite_decode.c
35         $(CC) $(CFLAGS) $(INC) $(LIB) bipartite_decode.c -o bipartite_decode
36
37 fasta_count: fasta_count.c
38         $(CC) $(CFLAGS) $(INC) $(LIB) fasta_count.c -o fasta_count
39
40 repeat-O-matic: repeat-O-matic.c
41         $(CC) $(CFLAGS) $(INC) $(LIB) repeat-O-matic.c -o repeat-O-matic
42
43 clean:
44         cd $(LIB_DIR) && ${MAKE} clean
45         cd $(TEST_DIR) && ${MAKE} clean
46         rm bed2fixedstep
47         rm bed2tag_contigs
48         rm bed_sort
49         rm bipartite_scan
50         rm bipartite_decode
51         rm fasta_count
52         rm repeat-O-matic