# $Id: GNUmakefile,v 1.7 2001/11/27 14:54:11 elena Exp $ # -------------------------------------------------------------- # GNUmakefile for examples module. Gabriele Cosmo, 06/04/98. # -------------------------------------------------------------- name := XrayFluo G4TARGET := $(name) G4EXLIB := true ifndef G4INSTALL G4INSTALL = ../../../ endif .PHONY: all all: lib bin include $(G4INSTALL)/config/architecture.gmk CPPFLAGS += -I$(LHCXX_REL_DIR)/include LDFLAGS += -L$(LHCXX_REL_DIR)/lib #LOADLIBS += -L$(LHCXX_REL_DIR)/lib # general stuff: LOADLIBS += -lHepUtilities -lAIDA_Annotation # add for Histograms: LOADLIBS += -lAIDA_HBook # add for Ntuples: LOADLIBS += -lAIDA_Ntuple -lNtupleTag -lNtupleTag_HBook # ... and finally system stuff and to deal with the "Fortran legacy": LOADLIBS += -lCHBook -ldl -lg2c include $(G4INSTALL)/config/binmake.gmk visclean: rm -f g4*.prim g4*.eps g4*.wrl rm -f .DAWN_*