-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathMakefile
26 lines (18 loc) · 981 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Make file for V'DJer
SRCDIR=src/main/c
SAMTOOLS=samtools-1.2
HTSLIB=samtools-1.2/htslib-1.2.1
vdjer: samtools
g++ -g -pthread -I$(SRCDIR) -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux -I$(SAMTOOLS) -I$(HTSLIB) $(SRCDIR)/assembler2_vdj.c $(SRCDIR)/seq_score.c $(SRCDIR)/vj_filter.c $(SRCDIR)/seq_to_kmer.c $(SRCDIR)/hash_utils.c $(SRCDIR)/bam_read.c $(SRCDIR)/quick_map3.c $(SRCDIR)/coverage.c $(SRCDIR)/status.c $(SRCDIR)/params.c $(SAMTOOLS)/libbam.a $(HTSLIB)/libhts.a -lz -lpthread -o vdjer
samtools:
$(MAKE) -C $(SAMTOOLS)
clean:
rm vdjer
seqd:
g++ -g $(SRCDIR)/seq_dist.c $(SRCDIR)/seq_to_kmer.c -o seqd
#quickmap:
# g++ -g -I$(SRCDIR) $(SRCDIR)/quick_map2.c $(SRCDIR)/hash_utils.c -o quickmap
#bamr:
# g++ -g -I$(SRCDIR) -I$(SAMTOOLS) -I$(HTSLIB) $(SRCDIR)/bam_read.c $(SRCDIR)/hash_utils.c $(SRCDIR)/quick_map3.c $(SAMTOOLS)/libbam.a $(HTSLIB)/libhts.a -lz -lpthread -o bamr
#ss:
# g++ -g -I$(SRCDIR) $(SRCDIR)/seq_score.c $(SRCDIR)/hash_utils.c -o ss