]> git.donarmstrong.com Git - biopieces.git/blob - code_c/Maasha/src/Makefile
bipartite_scan.c alpha
[biopieces.git] / code_c / Maasha / src / Makefile
1 CC      = gcc
2 # Cflags = -Wall -Werror
3 Cflags = -Wall -Werror -g -pg # for gprof
4
5 INC_DIR  = inc/
6 LIB_DIR  = lib/
7 TEST_DIR = test/
8
9 INC = -I $(INC_DIR)
10 LIB = -lm $(LIB_DIR)*.o
11
12 all: libs utest bipartite_scan fasta_count repeat-O-matic
13
14 libs:
15         cd $(LIB_DIR) && ${MAKE} all
16
17 utest:
18         cd $(TEST_DIR) && ${MAKE} all
19
20 bipartite_scan: bipartite_scan.c
21         $(CC) $(Cflags) $(INC) $(LIB) bipartite_scan.c -o bipartite_scan
22
23 fasta_count: fasta_count.c
24         $(CC) $(Cflags) $(INC) $(LIB) fasta_count.c -o fasta_count
25
26 repeat-O-matic: repeat-O-matic.c
27         $(CC) $(Cflags) $(INC) $(LIB) repeat-O-matic.c -o repeat-O-matic
28
29 clean:
30         cd $(LIB_DIR) && ${MAKE} clean
31         cd $(TEST_DIR) && ${MAKE} clean
32         rm bipartite_scan
33         rm fasta_count
34         rm repeat-O-matic