# --------------------------------------------------------------
# GNUmakefile for creating exampleR04: Using the Geant4
# hit mechanism with ROOT.
# Note that as of 29-Sep-2000, it has only been tested with
# ROOT 2.24/05, Geant 4.2.0ref2, on a Linux Redhat 6.2 system.
# --------------------------------------------------------------


name := exampleR04
G4TARGET := $(name)
G4EXLIB := true

ifndef G4INSTALL
  G4INSTALL = ../../..
endif

.PHONY: all
all: lib bin

include $(G4INSTALL)/config/architecture.gmk

CPPFLAGS += `root-config --cflags`
LDFLAGS += `root-config --nonew --libs`

include $(G4INSTALL)/config/binmake.gmk
