forked from CosteaPaul/qaTools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
39 lines (29 loc) · 1.17 KB
/
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
27
28
29
30
31
32
33
34
35
36
37
38
39
# Using gcc for now
CC=g++
# Flags for the compiles
CFLAGS=-c -Wall -g
# Samtools path
SAMTOOLS=/home/pcostea/private/tools/samtools-0.1.8/
INCLUDE=include/
all: removeUnmapped qaCompute computeInsertSizeHistogram doBWAQualTrimming
removeUnmapped: removeUnmapped.o
$(CC) removeUnmapped.o -o removeUnmapped -L$(SAMTOOLS) -lbam -lz
qaCompute: qaCompute.o
$(CC) qaCompute.o -o qaCompute -L$(SAMTOOLS) -lbam -lz #-lefence
computeInsertSizeHistogram: computeInsertSizeHistogram.o
$(CC) computeInsertSizeHistogram.o -o computeInsertSizeHistogram -lz -L$(SAMTOOLS) -lbam #-fopenmp
doBWAQualTrimming: doBWAQualTrimming.o
$(CC) doBWAQualTrimming.o -o doBWAQualTrimming -lz
removeUnmapped.o: removeUnmapped.c
$(CC) -I$(SAMTOOLS) $(CFLAGS) removeUnmapped.c
qaCompute.o: qaCompute.c
$(CC) -I$(SAMTOOLS) $(CFLAGS) qaCompute.c
computeInsertSizeHistogram.o: computeInsertSizeHistogram.c
$(CC) -I$(SAMTOOLS) $(CFLAGS) computeInsertSizeHistogram.c
doBWAQualTrimming.o: doBWAQualTrimming.c
$(CC) -I$(INCLUDE) $(CFLAGS) doBWAQualTrimming.c
clean:
rm -rf *o removeUnmapped
rm -rf *o qaCompute
rm -rf *o computeInsertSizeHistogram
rm -rf *o doBWAQualTrimming