+# Martin Asser Hansen (mail@maasha.dk) Copyright (C) 2008 - All right reserved
+
CC = gcc
# Cflags = -Wall -Werror
Cflags = -Wall -Werror -g -pg # for gprof
INC = -I $(INC_DIR)
LIB = -lm $(LIB_DIR)*.o
-all: libs utest fasta_count repeat-O-matic
+all: libs utest bed2fixedstep bed_sort bipartite_scan bipartite_decode fasta_count repeat-O-matic
libs:
cd $(LIB_DIR) && ${MAKE} all
utest:
cd $(TEST_DIR) && ${MAKE} all
+bed2fixedstep: bed2fixedstep.c
+ $(CC) $(Cflags) $(INC) $(LIB) bed2fixedstep.c -o bed2fixedstep
+
+bed_sort: bed_sort.c
+ $(CC) $(Cflags) $(INC) $(LIB) bed_sort.c -o bed_sort
+
+bipartite_scan: bipartite_scan.c
+ $(CC) $(Cflags) $(INC) $(LIB) bipartite_scan.c -o bipartite_scan
+
+bipartite_decode: bipartite_decode.c
+ $(CC) $(Cflags) $(INC) $(LIB) bipartite_decode.c -o bipartite_decode
+
fasta_count: fasta_count.c
$(CC) $(Cflags) $(INC) $(LIB) fasta_count.c -o fasta_count
clean:
cd $(LIB_DIR) && ${MAKE} clean
cd $(TEST_DIR) && ${MAKE} clean
+ rm bed2fixedstep
+ rm bed_sort
+ rm bipartite_scan
+ rm bipartite_decode
rm fasta_count
rm repeat-O-matic