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
15 all: libs bed2fixedstep bed2tag_contigs bed_sort bipartite_scan bipartite_decode fasta_count repeat-O-matic
18 cd $(LIB_DIR) && ${MAKE} all
21 cd $(TEST_DIR) && ${MAKE} all
23 bed2fixedstep: bed2fixedstep.c
24 $(CC) $(CFLAGS) $(INC) $(LIB) bed2fixedstep.c -o bed2fixedstep
26 bed2tag_contigs: bed2tag_contigs.c
27 $(CC) $(CFLAGS) $(INC) $(LIB) bed2tag_contigs.c -o bed2tag_contigs
30 $(CC) $(CFLAGS) $(INC) $(LIB) bed_sort.c -o bed_sort
32 bipartite_scan: bipartite_scan.c
33 $(CC) $(CFLAGS) $(INC) $(LIB) bipartite_scan.c -o bipartite_scan
35 bipartite_decode: bipartite_decode.c
36 $(CC) $(CFLAGS) $(INC) $(LIB) bipartite_decode.c -o bipartite_decode
38 fasta_count: fasta_count.c
39 $(CC) $(CFLAGS) $(INC) $(LIB) fasta_count.c -o fasta_count
41 repeat-O-matic: repeat-O-matic.c
42 $(CC) $(CFLAGS) $(INC) $(LIB) repeat-O-matic.c -o repeat-O-matic
45 cd $(LIB_DIR) && ${MAKE} clean
46 cd $(TEST_DIR) && ${MAKE} clean