ROOTGLIBS := $(shell root-config --glibs) ROOTCFLAGS := $(shell root-config --cflags) # Linux with egcs CXX = g++ CXXFLAGS = -g -Wall -fPIC -D_GNU_SOURCE -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS #CXXFLAGS += $(ROOTCFLAGS) -I. -I$(HOME_DIR)/coda/include CXXFLAGS += $(ROOTCFLAGS) -I/gluex/coda/3.0b2/evio-4.0/Linux/Linux-i686/include GLIBS = -L/gluex/coda/3.0b2/Linux/lib64 ${ROOTGLIBS} #GLIBS = -L$(HOME_DIR)/coda/Linux-i686/lib ${ROOTGLIBS} THREADLIBS = -lpthread GLIBS += $(THREADLIBS) OBJS = $(CRLFILES:.crl=.so) all: tagh tagh: tagh.cc $(CXX) $(CXXFLAGS) -o tagh.cc tagh: tagh.o $(CXX) -o tagh tagh.o ${GLIBS} -levioxx -levio -lexpat -lrt -lz -lm -lnsl -ldl clean: rm -f tagh *.o