-
nicolas authored
+ geant4 files are kept in the include and src directories + one directory is created for each detector. This directory contains the associated headers and sources files + a script directory is created with some scripts allowing the conditional compilation * Add #ifdef statements in DetectorConstruction.cc file + this applies to each detector header * Move G4MultiFunctionnalDetector.hh header from Sharc.cc to Sharc.hh
nicolas authored+ geant4 files are kept in the include and src directories + one directory is created for each detector. This directory contains the associated headers and sources files + a script directory is created with some scripts allowing the conditional compilation * Add #ifdef statements in DetectorConstruction.cc file + this applies to each detector header * Move G4MultiFunctionnalDetector.hh header from Sharc.cc to Sharc.hh
Makefile.geant4 1.17 KiB
# $Id: GNUmakefile,v 1.1 1999/01/07 16:05:40 gunter Exp $
# --------------------------------------------------------------
# GNUmakefile based on examples module by Gabriele Cosmo, 06/04/98.
# --------------------------------------------------------------
ROOTCONFIG := root-config
ARCH := $(shell $(ROOTCONFIG) --arch)
#COPYFILES = CopyIncSrcFiles
# G4 makefile
name := Simulation
G4TARGET := $(name)
G4EXLIB := true
ifndef G4INSTALL
G4INSTALL = ../../..
endif
# G4 work directory is the path where
# Result of compilation is put in (./$G4WORKDIR/bin/$G4SYSTEM/)
# to execute your programm : ./$G4WORKDIR/bin/$G4SYSTEM/Simulation xx.reaction xx.detector
G4WORKDIR = ./
G4BIN = ./bin
CPPFLAGS += $(shell root-config --cflags)
CPPFLAGS += -I$(NPTOOL)/NPLib/include
ifeq ($(ARCH),linuxx8664gcc)
CPPFLAGS += -Xlinker --no-as-needed
endif
EXTRALIBS = $(shell root-config --glibs) -lMathMore
EXTRALIBS += `$(NPTOOL)/NPLib/liblist`
.PHONY: all
#all: $(COPYFILES) lib bin
all: lib bin
# copying files associated to selected detectors
#CopyIncSrcFiles:
# ./copyfiles.sh
cleanVRML:
rm -r *.wrl
include $(G4INSTALL)/config/architecture.gmk
include $(G4INSTALL)/config/binmake.gmk