diff --git a/Makefile b/Makefile index 8e2523af2333000d4dad8789a979a749d7b62140..457898c7aaaca5bd52e96f3672fe38dc7eb1486d 100644 --- a/Makefile +++ b/Makefile @@ -8,11 +8,6 @@ VER := 7.60 # system type and directory layout SYSTEM := $(shell uname -s) -# set the NO_BOOST if you do not want to install libboost-iostreams to read gzip2-ed -# data files. Note: you have to decompress the files the yourself with gzip2 on the -# command line AND remove the ".bz2" ending in all the cfg/*.param files. -# NO_BOOST := 1 - ifdef CONEXBINROOT CONEX_PREFIX := $(CONEXBINROOT) else @@ -100,6 +95,9 @@ endif LDFLAGS += -lbz2 SOFLAGS += -lbz2 +ifneq ("$(BZIP2_INCLUD_DIR)", "") + CXXFLAGS += -I${BZIP2_INCLUD_DIR} +endif () CXXFLAGS += -std=c++17 -I$(TABDIR)/readLib/externals/compress_stream/include