# ====================================================================== # # PhysicsVectors binary-building GNUmakefile # # ====================================================================== # ---------------------------------------------------------------------- # Identify the target binaries: # ---------------------------------------------------------------------- BINS = # binaries' names to be built as part of .bin or .all requests TBINS = \ aatest \ boosttest \ eatest \ lttest \ lvtest \ pvtest \ rotest \ svtest \ svtestu \ uvtest \ vectest \ PVtests \ # la2pv_test \ # ---------------------------------------------------------------------- # Identify and categorize the sources for the above-named binaries: # ---------------------------------------------------------------------- SIMPLEBINS = \ aatest \ boosttest \ eatest \ lttest \ lvtest \ pvtest \ rotest \ svtest \ svtestu \ uvtest \ vectest \ # la2pv_test \ COMPLEXBIN = SCRIPTS = PVtests BINCCFILES = # ---------------------------------------------------------------------- # Identify other libraries to be linked: # ---------------------------------------------------------------------- BINLIBS = -lPhysicsVectors -lCLHEP -lExceptions -lZMutility -lm ifneq (,$(findstring IRIX,$(SRT_ARCH))) ifneq (,$(findstring KCC,$(SRT_CXX))) override CXXFLAGS += --backend -OPT:Olimit=0 override CCFLAGS += --backend -OPT:Olimit=0 endif endif # ---------------------------------------------------------------------- # Connect to other packages: # ---------------------------------------------------------------------- USE_ISOCXX = true include SoftRelTools/standard.mk # ---------------------------------------------------------------------- # Make environment-specific adaptations: # ---------------------------------------------------------------------- ifeq (-MSVC50,$(findstring -MSVC50,$(BFARCH))) override BINLIBS := $(subst -lc,,$(subst -lm,,$(BINLIBS))) endif # Force optimization OFF and symbols ON for debugging ifdef SYMBOLS ifneq (,$(findstring GCC,$(SRT_CXX))) override CXXFLAGS := $(patsubst -O%,-ggdb3,$(CXXFLAGS)) override CXXFLAGS := $(patsubst -O, -ggdb3,$(CXXFLAGS)) endif endif ifneq (,$(findstring IRIX,$(SRT_ARCH))) ifneq (,$(findstring GCC,$(SRT_CXX))) override LDFLAGS += -Wl,-LD_MSG:off=15:off=47:off=84-85:off=127:off=134 endif endif test: zoomtest .PHONY: zoomtest zoomtest: ; cd $(workdir); PVtests # ======================================================================