diff --git a/Makefile b/Makefile index 81182fe02249b5b1f05771a4dadf21e168680035..d7785d25d6fcf852b00da273df7fc1b32a80f680 100644 --- a/Makefile +++ b/Makefile @@ -74,10 +74,6 @@ ifdef CORSIKA_8 CPPFLAGS += -D__CORSIKA8__ endif -ifndef NO_BOOST - LDFLAGS += -lboost_iostreams -endif - ifeq ("$(SYSTEM)", "Darwin") LDFLAGS += -bind_at_load -dynamic endif @@ -96,6 +92,11 @@ else endif endif +ifndef NO_BOOST + LDFLAGS += -lboost_iostreams + SOFLAGS += -lboost_iostreams +endif + CXXFLAGS += $(CONEX_EXTENSIONS) FFLAGS += -w -fno-second-underscore -fno-automatic -Isrc/ -Isrc/urqmd13/ CXXFLAGS += -g -fPIC $(MC3D) -Isrc @@ -207,7 +208,6 @@ endif cp -vf $(OBJDIR)/.conexConfigAuto.h src/conexConfigAuto.h; \ fi - rebuild: clean all $(CFGDIR)/%.param: src/%.paramin