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 bed2fixedstep bed_sort bipartite_scan bipartite_decode fasta_count repeat-O-matic
17 cd $(LIB_DIR) && ${MAKE} all
20 cd $(TEST_DIR) && ${MAKE} all
22 bed2fixedstep: bed2fixedstep.c
23 $(CC) $(Cflags) $(INC) $(LIB) bed2fixedstep.c -o bed2fixedstep
26 $(CC) $(Cflags) $(INC) $(LIB) bed_sort.c -o bed_sort
28 bipartite_scan: bipartite_scan.c
29 $(CC) $(Cflags) $(INC) $(LIB) bipartite_scan.c -o bipartite_scan
31 bipartite_decode: bipartite_decode.c
32 $(CC) $(Cflags) $(INC) $(LIB) bipartite_decode.c -o bipartite_decode
34 fasta_count: fasta_count.c
35 $(CC) $(Cflags) $(INC) $(LIB) fasta_count.c -o fasta_count
37 repeat-O-matic: repeat-O-matic.c
38 $(CC) $(Cflags) $(INC) $(LIB) repeat-O-matic.c -o repeat-O-matic
41 cd $(LIB_DIR) && ${MAKE} clean
42 cd $(TEST_DIR) && ${MAKE} clean