Skip to content

Commit

Permalink
Update makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
agnieszkadanek authored Nov 10, 2020
1 parent 49cbbce commit ddfaf69
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ endif


CC = g++
CFLAGS = -Wall -O3 -m64 -std=c++11 $(OMP_FLAGS) -pthread -mavx -lz -I $(KMER_DB_LIBS_DIR) -I $(EXTRA_LIBS_DIR) -I$PREFIX/include
CFLAGS_AVX2 = -Wall -O3 -m64 -std=c++11 $(OMP_FLAGS) -pthread -mavx2 -lz -I $(KMER_DB_LIBS_DIR) -I $(EXTRA_LIBS_DIR) -I$PREFIX/include
CFLAGS = -Wall -O3 -m64 -std=c++11 $(OMP_FLAGS) -pthread -mavx -lz -I $(KMER_DB_LIBS_DIR) -I $(EXTRA_LIBS_DIR) -I $(PREFIX)/include
CFLAGS_AVX2 = -Wall -O3 -m64 -std=c++11 $(OMP_FLAGS) -pthread -mavx2 -lz -I $(KMER_DB_LIBS_DIR) -I $(EXTRA_LIBS_DIR) -I $(PREFIX)/include
CLINK = -lm -O3 -std=c++11 -lpthread $(OMP_FLAGS) -mavx $(ABI_FLAGS)

OBJS := $(KMER_DB_MAIN_DIR)/analyzer.o \
Expand Down Expand Up @@ -74,7 +74,7 @@ kmer-db: $(OBJS) $(AVX_OBJS)
$(CC) $(CLINK) -o $(KMER_DB_ROOT_DIR)/$@ $(OBJS) $(AVX_OBJS) $(EXTRA_LIBS_DIR)/libz.a
else
kmer-db: $(OBJS) $(AVX_OBJS)
$(CC) $(CLINK) -L$PREFIX/lib -lz -o $(KMER_DB_ROOT_DIR)/$@ $(OBJS) $(AVX_OBJS)
$(CC) $(CLINK) -L$(PREFIX)/lib -lz -o $(KMER_DB_ROOT_DIR)/$@ $(OBJS) $(AVX_OBJS)
endif

clean:
Expand Down

0 comments on commit ddfaf69

Please sign in to comment.