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