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 align_two_seq 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 align_two_seq: align_two_seq.c
24 $(CC) $(CFLAGS) $(INC) $(LIB) align_two_seq.c -o align_two_seq
26 bed2fixedstep: bed2fixedstep.c
27 $(CC) $(CFLAGS) $(INC) $(LIB) bed2fixedstep.c -o bed2fixedstep
29 bed2tag_contigs: bed2tag_contigs.c
30 $(CC) $(CFLAGS) $(INC) $(LIB) bed2tag_contigs.c -o bed2tag_contigs
33 $(CC) $(CFLAGS) $(INC) $(LIB) bed_sort.c -o bed_sort
35 bipartite_scan: bipartite_scan.c
36 $(CC) $(CFLAGS) $(INC) $(LIB) bipartite_scan.c -o bipartite_scan
38 bipartite_decode: bipartite_decode.c
39 $(CC) $(CFLAGS) $(INC) $(LIB) bipartite_decode.c -o bipartite_decode
41 fasta_count: fasta_count.c
42 $(CC) $(CFLAGS) $(INC) $(LIB) fasta_count.c -o fasta_count
44 repeat-O-matic: repeat-O-matic.c
45 $(CC) $(CFLAGS) $(INC) $(LIB) repeat-O-matic.c -o repeat-O-matic
48 cd $(LIB_DIR) && ${MAKE} clean
49 cd $(TEST_DIR) && ${MAKE} clean