-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathMakefile
36 lines (27 loc) · 832 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
30
31
32
33
34
35
36
CC= gcc
CFLAGS= -g -Wall -O2 -Wno-unused-function #-fno-inline-functions -fno-inline-functions-called-once
CPPFLAGS=
INCLUDES=
OBJS= kthread.o utils.o bseq.o bbf.o htab.o count.o correct.o bfc.o
PROG= bfc hash2cnt
LIBS= -lm -lz -lpthread
.SUFFIXES:.c .o
.c.o:
$(CC) -c $(CFLAGS) $(CPPFLAGS) $(INCLUDES) $< -o $@
all:$(PROG)
bfc:$(OBJS)
$(CC) $(CFLAGS) $^ -o $@ $(LIBS)
hash2cnt:hash2cnt.o
$(CC) $(CFLAGS) $< -o $@
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: bbf.h
bfc.o: bfc.h bbf.h htab.h kmer.h bseq.h
bseq.o: bseq.h kseq.h
correct.o: bfc.h bbf.h htab.h kmer.h bseq.h kvec.h ksort.h
count.o: bfc.h bbf.h htab.h kmer.h bseq.h
hash2cnt.o: kmer.h
htab.o: htab.h kmer.h khash.h