################################################### # # Makefile for HADES GEANT-package # * Creates library $(LOCLIB) and $(EXE) with automatic update of # object files (sensitive to F-files) by typing: # make exe # make lib # # - Oracle-Flag (WITHORACLE): # Geometry data are read from data base else from file # - GEANT-Flag (WITHGEANT): Geometry is implemented in GEANT, else the # required transformations are executed without calling # GEANT-routines (GSVOLU, GSPOS, etc.) # 97/02/11 Heike Schoen # last modified: 97/06/03 #################################################### #----------------------------------------- # Precompiler Flags are defined in geantdef.h. This file has to # be included in all files where precompiler flags are used. # With "awk" geantdef.h is converted to a file geantdef.hawk, # which is included in this makefile. # #---------------------------------------------------------------------- PRECOMP_DEF=geantdef include $(PRECOMP_DEF).hawk #-------------------------------------------------------------------- ## List of source-files to be included: C_SOURCE, CC_SOURCE, F_SOURCE #-------------------------------------------------------------------- F_SOURCE = $(wildcard *.F) #---------------------------------------------------- ## define name of lib and exe: Change LOCLIB for your # local library. #---------------------------------------------------- EXE=hgeant LOCLIB = libgmult.a GEANTOBJ=range.o gxint.o uglast.o uginit.o gukine.o gustep.o gudigi.o #-------------------------------------------------------------- #objects to take from local directory, this one will be taken # also if it exists in other libraries, extract it first from your # local library with: ar x $LOCLIB locobj.o # where $LOCLIB is the name of your local library #------------------------------------------------------------- LOC_OBJ= #------------------------------------------------------------------ ## makegeant.mk contains list of libraries /directories and objects # for GEANT and creates library and executable #------------------------------------------------------------------ include $(HALO)/$(HCVS_LEVEL)/adm/makegeant.mk