# -------------------------------------------------------------- # GNUmakefile for creating exampleR03 # Note that as of 21-Dec-1999, it has only been tested with # ROOT 2.23/10, Geant 4.1.0, on a Linux Redhat 6.1 system. # -------------------------------------------------------------- name := exampleR03 G4TARGET := $(name) G4EXLIB := true ifndef G4INSTALL G4INSTALL = ../../.. endif .PHONY: all all: lib bin include $(G4INSTALL)/config/architecture.gmk ROOTLIBS = -lCore -lCint -lHist -lGraf -lGraf3d -lGpad -lTree -lRint \ -lPostscript -lMatrix -lPhysics ROOTGLIBS = -lGui CPPFLAGS += `root-config --cflags` LDFLAGS += `root-config --nonew --libs` include $(G4INSTALL)/config/binmake.gmk