Difference between revisions of "CMsgRootMakefile"
From GlueXWiki
(No difference)
|
Revision as of 14:07, 26 June 2009
ROOTCFLAGS = $(shell root-config --cflags) ROOTLIBS = $(shell root-config --libs) ROOTGLIBS = $(shell root-config --glibs) CMSGINC = -I/group/da/ejw/coda/include CMSGLIBS = -L/group/da/ejw/coda/Linux-i686/lib -lcmsgxx -lcmsg -lcmsgRegex LIBS = -lrt all: hproducer hconsumer hproducer.o: hproducer.cc $(CXX) $(CXXFLAGS) -c -g hproducer.cc $(ROOTCFLAGS) $(CMSGINC) hproducer: hproducer.o $(CXX) -o hproducer hproducer.o $(ROOTGLIBS) $(CMSGLIBS) $(LIBS) hconsumer.o: hconsumer.cc $(CXX) $(CXXFLAGS) -c -g hconsumer.cc $(ROOTCFLAGS) $(CMSGINC) hconsumer: hconsumer.o $(CXX) -o hconsumer hconsumer.o $(ROOTGLIBS) $(CMSGLIBS) $(LIBS)