-
Notifications
You must be signed in to change notification settings - Fork 9
/
Makefile
46 lines (37 loc) · 1.12 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
40
41
42
43
44
45
46
CFLAGS= -g -Wall -O2
CPPFLAGS=
INCLUDES=
OBJS= kthread.o bbf.o htab.o bseq.o misc.o sys.o 6gjdn.o \
count.o qv.o triobin.o trioeval.o inspect.o chkerr.o sexchr.o
PROG= yak
LIBS= -lm -lz -lpthread
ifneq ($(asan),)
CFLAGS+=-fsanitize=address
LIBS+=-fsanitize=address
endif
.SUFFIXES:.c .o
.PHONY:all clean depend
.c.o:
$(CC) -c $(CFLAGS) $(CPPFLAGS) $(INCLUDES) $< -o $@
all:$(PROG)
yak:$(OBJS) main.o
$(CC) $(CFLAGS) $^ -o $@ $(LIBS)
clean:
rm -fr gmon.out *.o ext/*.o a.out $(PROG) *~ *.a *.dSYM session*
depend:
(LC_ALL=C; export LC_ALL; makedepend -Y -- $(CFLAGS) $(DFLAGS) -- *.c)
# DO NOT DELETE
bbf.o: yak.h
bseq.o: bseq.h kseq.h
chkerr.o: kthread.h ketopt.h bseq.h yak-priv.h yak.h
count.o: kthread.h yak-priv.h yak.h kseq.h
htab.o: kthread.h yak-priv.h yak.h khashl.h
inspect.o: ketopt.h yak-priv.h yak.h
kthread.o: kthread.h
main.o: ketopt.h yak-priv.h yak.h
misc.o: yak-priv.h yak.h
qv.o: kthread.h yak-priv.h yak.h bseq.h
sexchr.o: kthread.h ketopt.h bseq.h yak-priv.h yak.h
sys.o: yak-priv.h yak.h
triobin.o: kthread.h ketopt.h bseq.h yak-priv.h yak.h
trioeval.o: kthread.h ketopt.h bseq.h yak-priv.h yak.h