1 # Martin Asser Hansen (mail@maasha.dk) Copyright (C) 2008 - All right reserved
4 # Cflags = -Wall -Werror
5 Cflags = -Wall -Werror -g -pg # for gprof
12 LIB = -lm $(LIB_DIR)*.o
14 all: libs utest bed_sort bipartite_scan fasta_count repeat-O-matic
17 cd $(LIB_DIR) && ${MAKE} all
20 cd $(TEST_DIR) && ${MAKE} all
23 $(CC) $(Cflags) $(INC) $(LIB) bed_sort.c -o bed_sort
25 bipartite_scan: bipartite_scan.c
26 $(CC) $(Cflags) $(INC) $(LIB) bipartite_scan.c -o bipartite_scan
28 fasta_count: fasta_count.c
29 $(CC) $(Cflags) $(INC) $(LIB) fasta_count.c -o fasta_count
31 repeat-O-matic: repeat-O-matic.c
32 $(CC) $(Cflags) $(INC) $(LIB) repeat-O-matic.c -o repeat-O-matic
35 cd $(LIB_DIR) && ${MAKE} clean
36 cd $(TEST_DIR) && ${MAKE} clean