-
Notifications
You must be signed in to change notification settings - Fork 2
/
makefile
44 lines (37 loc) · 989 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
37
38
39
40
41
42
43
all: SVAT
CC = g++
comp_flags = -c -O3 -Wall
lib_flags = -lz
exec_name = bin/SVAT
LIB_DIR = src
# Define pattern rule for building object files.
%.o: %.cpp
@echo Compiling $@
@${CC} ${comp_flags} $< -o $@
%.o: %.c
@echo Compiling $@
@${CC} ${comp_flags} $< -o $@
objs = \
${LIB_DIR}/main.o \
${LIB_DIR}/svat_indel_utils.o \
${LIB_DIR}/svat_snv_utils.o \
${LIB_DIR}/svat_aggregation_utils.o \
${LIB_DIR}/svat_utils.o \
${LIB_DIR}/svat_secure_aggregation_utils.o \
${LIB_DIR}/svat_secure_snv_utils.o \
${LIB_DIR}/svat_ansi_string.o \
${LIB_DIR}/svat_annot_region_tools.o \
${LIB_DIR}/svat_gff_utils.o \
${LIB_DIR}/svat_ansi_cli.o \
${LIB_DIR}/svat_config.o \
${LIB_DIR}/svat_genome_sequence_tools.o \
${LIB_DIR}/svat_variation_tools.o \
${LIB_DIR}/svat_rng.o \
${LIB_DIR}/svat_seed_manager.o \
${LIB_DIR}/svat_nomenclature.o \
${LIB_DIR}/svat_nucleotide.o \
${LIB_DIR}/file_utils.o
SVAT: ${objs}
${CC} -O3 ${lib_flags} -o ${exec_name} ${objs}
clean:
rm -f ${objs} ${exec_name}