# $Id: GNUmakefile 42 2010-01-15 15:48:21Z vnivanch $ # -------------------------------------------------------------- # GNUmakefile for examples module. Gabriele Cosmo, 06/04/98. # Modified by Mirco Deckenhoff 11/09/13 # -------------------------------------------------------------- name := scifiSim G4TARGET := $(name) G4EXLIB := true .PHONY: all all: lib bin ifndef G4SYSTEM G4SYSTEM = Linux-g++ endif ifndef G4LIB G4LIB = /work/geant4.10.1-install/lib64 endif ifndef G4INSTALL G4INSTALL = /work/geant4.10.1-install/share/Geant4-10.1.0/geant4make endif include $(G4INSTALL)/config/architecture.gmk #Add ROOT options for compilation CPPFLAGS += `root-config --cflags --ldflags` LDFLAGS += `root-config --libs --glibs` CPPFLAGS += `geant4-config --cflags` LDFLAGS += `geant4-config --libs` CPPFLAGS += -std=c++11 include $(G4INSTALL)/config/binmake.gmk