# $Id: GNUmakefile,v 1.1 2002/12/04 02:44:24 morita Exp $
#
# GNUmakefile: makefile for example ROOT I/O impelmentatoin.
#
#  This makefile creates a granular library in $(FADS_LIB).
#  $(name) is the name of granular library.
#
#  Author: Youhei Morita <youhei.morita@kek.jp>
#

# name of the granular library
name := G4PersEx01

ifndef G4PEX_DIR
  G4PEX_DIR := $(G4INSTALL)/examples/extended/persistency/rootio
endif

include $(G4PEX_DIR)/config/G4PEXsetup.gmk

cwd := $(shell pwd)

CINT_INCLUDES := -I$(cwd)/include
CINT_INCLUDES += -I$(G4INCLUDE)
CINT_INCLUDES += -I$(G4PEX_DIR)/include
CINT_INCLUDES += -I$(CLHEP_BASE_DIR)/include
CINT_INCLUDES += -I$(ROOTSYS)/include

CPPFLAGS += -Iinclude
CPPFLAGS += -I$(G4INCLUDE)
CPPFLAGS += -I$(G4PEX_DIR)/include

include $(G4PEX_DIR)/config/binmake.gmk

