]> git.donarmstrong.com Git - biopieces.git/blob - code_c/Maasha/src/Makefile
disabled utest for C code
[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 all: libs bed2fixedstep bed2tag_contigs bed_sort bipartite_scan bipartite_decode fasta_count repeat-O-matic
16
17 libs:
18         cd $(LIB_DIR) && ${MAKE} all
19
20 utest:
21         cd $(TEST_DIR) && ${MAKE} all
22
23 bed2fixedstep: bed2fixedstep.c
24         $(CC) $(CFLAGS) $(INC) $(LIB) bed2fixedstep.c -o bed2fixedstep
25
26 bed2tag_contigs: bed2tag_contigs.c
27         $(CC) $(CFLAGS) $(INC) $(LIB) bed2tag_contigs.c -o bed2tag_contigs
28
29 bed_sort: bed_sort.c
30         $(CC) $(CFLAGS) $(INC) $(LIB) bed_sort.c -o bed_sort
31
32 bipartite_scan: bipartite_scan.c
33         $(CC) $(CFLAGS) $(INC) $(LIB) bipartite_scan.c -o bipartite_scan
34
35 bipartite_decode: bipartite_decode.c
36         $(CC) $(CFLAGS) $(INC) $(LIB) bipartite_decode.c -o bipartite_decode
37
38 fasta_count: fasta_count.c
39         $(CC) $(CFLAGS) $(INC) $(LIB) fasta_count.c -o fasta_count
40
41 repeat-O-matic: repeat-O-matic.c
42         $(CC) $(CFLAGS) $(INC) $(LIB) repeat-O-matic.c -o repeat-O-matic
43
44 clean:
45         cd $(LIB_DIR) && ${MAKE} clean
46         cd $(TEST_DIR) && ${MAKE} clean
47         rm bed2fixedstep
48         rm bed2tag_contigs
49         rm bed_sort
50         rm bipartite_scan
51         rm bipartite_decode
52         rm fasta_count
53         rm repeat-O-matic