# # arch_spec_CLHEP.mk # # Architecture/site specific makefile fragment # for inclusion by packages that use CLHEP. # # CLHEP_LIB and CLHEP_INC are environment variables # containing (or optionally loaded with) the # location of the CLHEP files on the local machine. # # These are then appended to CPPFLAGS and LDFLAGS as # overrides. Note that the -lCLHEP is also appended # to LOADLIBS # # Lars Rasmussen, 16-Sep-98 # # standard definitions ifndef CLHEP_DIR ifndef CLHEP_INC CLHEP_INC = /usr/local/include endif ifndef CLHEP_LIB CLHEP_LIB = /usr/local/lib endif else CLHEP_INC = $(CLHEP_DIR)/include CLHEP_LIB = $(CLHEP_DIR)/lib endif override CPPFLAGS += -I$(CLHEP_INC) override LDFLAGS += -L$(CLHEP_LIB) override LOADLIBES += -lCLHEP