######################################################################## # # Makefile for creation of executables containing only simulation code # # h1sim: All simulation modules (H1GEA + DIGI +TRIG) # h1geaonly: only H1GEA module # h1simcheck: test program for h1sim # upgrade: >=1995 detector setup # # Type"gmake version=xxyyzz [main=mainprogram]"for official/test installation # (depending on flag H1_TESTFLAG) # # H1_TESTFLAG is normally set via h1set. You can temporarily overwrite # the value by specifying e.g. H1_TESTFLAG=yes on the gmake command line. # # 'mainprogram' can be h1sim, h1geaonly, h1simcheck, upgrade etc. # # For new GEANT versions you should add 'hcode=g' (3.21/Gheisha) or # 'hcode=c' (3.21/Calor) to the commandline # ######################################################################## # # define default main program main = testit # H1SIM_VERSION = 30724 H1REC_VERSION = 60108 H1PHAN_VERSION = 10908 H1L4_VERSION = 40317 H1UTIL_VERSION = 40725 # ext = $(30724) $(main)$(hcode)$(ext): $(main)$(ext).o $(LOADER) -o $(main)$(hcode)$(ext) $(main)$(ext).o \ -L$(H1_LIBS) -lh1sim$(version) \ -L$(H1_LIBS) -lh1rec9$(version) \ -L$(H1_LIBS) -lh1ndb \ -L$(H1_LIBS) -lh1util$(H1UTIL_VERSION) \ -L$(H1_LIBS) -llook \ -L$(H1_LIBS) -lh1ndb \ -L$(H1_LIBS) -lfpacknew -lbos -llook \ -L$(CERN_LIBS) $(LD_FLAGS) # .f.o: $(F_COMP) $(F_FLAGS) $*.f .c.o: $(C_COMP) $(C_FLAGS) $*.c