annotate PsiCLASS-1.0.2/samtools-0.1.19/Makefile.mingw @ 0:903fc43d6227 draft default tip

Uploaded
author lsong10
date Fri, 26 Mar 2021 16:52:45 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
1 CC= gcc.exe
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
2 AR= ar.exe
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
3 CFLAGS= -g -Wall -O2
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
4 DFLAGS= -D_USE_KNETFILE -D_CURSES_LIB=2
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
5 KNETFILE_O= knetfile.o
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
6 LOBJS= bgzf.o kstring.o bam_aux.o bam.o bam_import.o sam.o bam_index.o \
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
7 bam_pileup.o bam_lpileup.o bam_md.o razf.o faidx.o \
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
8 $(KNETFILE_O) bam_sort.o sam_header.o bam_reheader.o kprobaln.o bedidx.o
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
9 AOBJS= bam_tview.o bam_plcmd.o sam_view.o \
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
10 bam_rmdup.o bam_rmdupse.o bam_mate.o bam_stat.o bam_color.o \
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
11 bamtk.o kaln.o bam2bcf.o bam2bcf_indel.o errmod.o sample.o \
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
12 cut_target.o phase.o bam_cat.o bam2depth.o
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
13 BCFOBJS= bcftools/bcf.o bcftools/fet.o bcftools/bcf2qcall.o bcftools/bcfutils.o \
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
14 bcftools/call1.o bcftools/index.o bcftools/kfunc.o bcftools/em.o \
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
15 bcftools/kmin.o bcftools/prob1.o bcftools/vcf.o bcftools/mut.o
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
16 PROG= samtools.exe bcftools.exe
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
17 INCLUDES= -I. -Iwin32
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
18 SUBDIRS= .
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
19 LIBPATH=
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
20
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
21 .SUFFIXES:.c .o
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
22
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
23 .c.o:
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
24 $(CC) -c $(CFLAGS) $(DFLAGS) $(INCLUDES) $< -o $@
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
25
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
26 all:$(PROG)
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
27
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
28 .PHONY:all lib clean cleanlocal
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
29 .PHONY:all-recur lib-recur clean-recur cleanlocal-recur install-recur
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
30
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
31 lib:libbam.a
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
32
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
33 libbam.a:$(LOBJS)
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
34 $(AR) -cru $@ $(LOBJS)
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
35
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
36 samtools.exe:$(AOBJS) libbam.a $(BCFOBJS)
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
37 $(CC) $(CFLAGS) -o $@ $(AOBJS) $(BCFOBJS) $(LIBPATH) -lm -L. -lbam -Lwin32 -lz -lcurses -lws2_32
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
38
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
39 bcftools.exe:$(BCFOBJS) bcftools/main.o kstring.o bgzf.o knetfile.o bedidx.o
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
40 $(CC) $(CFLAGS) -o $@ $(BCFOBJS) bcftools/main.o kstring.o bgzf.o knetfile.o bedidx.o -lm -Lwin32 -lz -lws2_32
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
41
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
42 razip.o:razf.h
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
43 bam.o:bam.h razf.h bam_endian.h kstring.h sam_header.h
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
44 sam.o:sam.h bam.h
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
45 bam_import.o:bam.h kseq.h khash.h razf.h
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
46 bam_pileup.o:bam.h razf.h ksort.h
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
47 bam_plcmd.o:bam.h faidx.h bcftools/bcf.h bam2bcf.h
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
48 bam_index.o:bam.h khash.h ksort.h razf.h bam_endian.h
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
49 bam_lpileup.o:bam.h ksort.h
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
50 bam_tview.o:bam.h faidx.h
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
51 bam_sort.o:bam.h ksort.h razf.h
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
52 bam_md.o:bam.h faidx.h
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
53 sam_header.o:sam_header.h khash.h
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
54 bcf.o:bcftools/bcf.h
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
55 bam2bcf.o:bam2bcf.h errmod.h bcftools/bcf.h
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
56 bam2bcf_indel.o:bam2bcf.h
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
57 errmod.o:errmod.h
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
58
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
59 faidx.o:faidx.h razf.h khash.h
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
60 faidx_main.o:faidx.h razf.h
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
61
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
62 clean:
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
63 rm -fr gmon.out *.o a.out *.exe *.dSYM razip bgzip $(PROG) *~ *.a *.so.* *.so *.dylib