-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
29 lines (20 loc) · 774 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
27
28
29
HTSDIR=../htslib
CFLAGS=-I$(HTSDIR) -Wall -g -O2
LDFLAGS=-L$(HTSDIR)
#HTS_LDLIBS=-Wl,-Bstatic -lhts -lz -Wl,-Bdynamic -pthread
HTS_LDLIBS=-lhts
all: foldreads mark5mC scanbp simhbs qualprofile
foldreads: foldreads.o fold.o fit_lognorm.o kmath.o
$(CC) $(CFLAGS) $^ -o $@ $(LDFLAGS) -lz -lm
mark5mC: mark5mC.o fold.o aux.o
$(CC) $(CFLAGS) $^ -o $@ $(LDFLAGS) $(HTS_LDLIBS) -lm
scanbp: scanbp.o fold.o aux.o
$(CC) $(CFLAGS) $^ -o $@ $(LDFLAGS) $(HTS_LDLIBS) -lm
simhbs: simhbs.o fold.o kmath.o
$(CC) $(CFLAGS) $^ -o $@ $(LDFLAGS) -lm
test_fit: test_fit.o fold.o kmath.o fit_lognorm.o
$(CC) $(CFLAGS) $^ -o $@ $(LDFLAGS) -lm
qualprofile: qualprofile.o
$(CC) $(CFLAGS) $^ -o $@ $(LDFLAGS) -lz
clean:
rm -f *.o foldreads mark5mC scanbp simhbs test_fit qualprofile