2 # Cflags = -Wall -Werror
3 Cflags = -Wall -Werror -g -pg # for gprof
10 LIB = -lm $(LIB_DIR)*.o
12 all: libs utest bipartite_scan fasta_count repeat-O-matic
15 cd $(LIB_DIR) && ${MAKE} all
18 cd $(TEST_DIR) && ${MAKE} all
20 bipartite_scan: bipartite_scan.c
21 $(CC) $(Cflags) $(INC) $(LIB) bipartite_scan.c -o bipartite_scan
23 fasta_count: fasta_count.c
24 $(CC) $(Cflags) $(INC) $(LIB) fasta_count.c -o fasta_count
26 repeat-O-matic: repeat-O-matic.c
27 $(CC) $(Cflags) $(INC) $(LIB) repeat-O-matic.c -o repeat-O-matic
30 cd $(LIB_DIR) && ${MAKE} clean
31 cd $(TEST_DIR) && ${MAKE} clean