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 bed2tag_contigs 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
25 bed2tag_contigs: bed2tag_contigs.c
26 $(CC) $(CFLAGS) $(INC) $(LIB) bed2tag_contigs.c -o bed2tag_contigs
29 $(CC) $(CFLAGS) $(INC) $(LIB) bed_sort.c -o bed_sort
31 bipartite_scan: bipartite_scan.c
32 $(CC) $(CFLAGS) $(INC) $(LIB) bipartite_scan.c -o bipartite_scan
34 bipartite_decode: bipartite_decode.c
35 $(CC) $(CFLAGS) $(INC) $(LIB) bipartite_decode.c -o bipartite_decode
37 fasta_count: fasta_count.c
38 $(CC) $(CFLAGS) $(INC) $(LIB) fasta_count.c -o fasta_count
40 repeat-O-matic: repeat-O-matic.c
41 $(CC) $(CFLAGS) $(INC) $(LIB) repeat-O-matic.c -o repeat-O-matic
44 cd $(LIB_DIR) && ${MAKE} clean
45 cd $(TEST_DIR) && ${MAKE} clean