-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathMakefile_mac
More file actions
34 lines (29 loc) · 728 Bytes
/
Makefile_mac
File metadata and controls
34 lines (29 loc) · 728 Bytes
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
CC= gcc
LIBS= -pthread \
-lm lib/zlib/libz.a \
-lm lib/hdf5/lib/libhdf5-static.a \
-lm lib/hdf5/lib/libhdf5_hl-static.a -ldl \
-lm lib/libdivsufsort/lib/libdivsufsort64.a
CFLAG= -fgnu89-inline -O2 -w
SRC= src/ssw.c \
src/xxhash.c \
src/bgzf.c \
src/hash_align.c \
src/EM.c \
src/bam_write.c \
src/fmindex.c \
src/genome_map.c \
src/main.c \
src/argument.c \
src/get_buffer.c \
src/read.c \
src/usage.c \
src/log.c
Hera:
mkdir -p build/
$(CC) $(CFLAG) $(SRC) $(LIBS) -o build/hera
cp src/hera_build build/hera_build
chmod +x build/hera_build
clean:
rm -rf build
rm -rf lib