1 |
|
# Directories to search for header files |
2 |
|
SEQAN = ./SeqAn-1.2 |
3 |
< |
SEARCHDIRS := -I. -I${SEQAN} -I/opt/geo/include |
3 |
> |
SEARCHDIRS := -I. -I${SEQAN} -I.. -I/opt/geo/include |
4 |
|
|
5 |
|
SYSTYPE := $(shell uname) |
6 |
|
|
52 |
|
SEG_OBJS = ${COM_OBJS} bwt_map.o junctions.o |
53 |
|
LONGSR_OBJS = ${COM_OBJS} bwt_map.o junctions.o |
54 |
|
|
55 |
< |
ALL_EXE = fix_map_ordering bam_merge bam2fastx prep_reads extract_reads long_spanning_reads segment_juncs tophat_reports |
55 |
> |
ALL_EXE = fix_map_ordering map2gtf gtf_to_fasta bam_merge bam2fastx \ |
56 |
> |
prep_reads extract_reads long_spanning_reads gtf_juncs segment_juncs \ |
57 |
> |
tophat_reports |
58 |
|
|
59 |
|
.PHONY : all |
60 |
< |
# all: prep_reads |
60 |
> |
all: segment_juncs |
61 |
> |
debug: segment_juncs |
62 |
> |
#all: prep_reads |
63 |
> |
#debug: prep_reads |
64 |
> |
|
65 |
|
# all_exe: prep_reads extract_reads segment_juncs long_spanning_reads |
66 |
< |
all: $(ALL_EXE) |
67 |
< |
debug: $(ALL_EXE) |
66 |
> |
#all: $(ALL_EXE) |
67 |
> |
#debug: $(ALL_EXE) |
68 |
> |
#all: segment_juncs |
69 |
> |
#debug: segment_juncs |
70 |
|
#all: bam_dump |
71 |
|
#all: sam2bam |
72 |
|
#debug: sam2bam |
96 |
|
${LINKER} ${LDFLAGS} -o $@ ${filter-out %.a %.so, $^} ${LIBS} |
97 |
|
extract_reads: ${COM_OBJS} ./extract_reads.o |
98 |
|
${LINKER} ${LDFLAGS} -o $@ ${filter-out %.a %.so, $^} ${LIBS} |
99 |
+ |
gtf_to_fasta: ${COM_OBJS} bwt_map.o ${GFF_OBJS} ./FastaTools.o ./GTFToFasta.o |
100 |
+ |
${LINKER} ${LDFLAGS} -o $@ ${filter-out %.a %.so, $^} ${LIBS} |
101 |
+ |
map2gtf: ${COM_OBJS} bwt_map.o ${GFF_OBJS} ./map2gtf.o |
102 |
+ |
${LINKER} ${LDFLAGS} -o $@ ${filter-out %.a %.so, $^} ${LIBS} |
103 |
|
gtf_juncs: ${COM_OBJS} bwt_map.o ${GFF_OBJS} ./gtf_juncs.o |
104 |
|
${LINKER} ${LDFLAGS} -o $@ ${filter-out %.a %.so, $^} ${LIBS} |
105 |
|
segment_juncs: ${SEG_OBJS} ./segment_juncs.o |
110 |
|
# target for removing all object files |
111 |
|
|
112 |
|
.PHONY : clean |
113 |
< |
clean:: |
114 |
< |
${RM} *.o sam2bam core core.* ${ALL_EXE} *.o* |
113 |
> |
clean:: |
114 |
> |
${RM} *.o sam2bam core core.* ${ALL_EXE} |
115 |
|
|
116 |
|
|