CC=g++ all: EventBuilder evt2hist MergeEVT ev22txt nscl2pixie #this is for eventbuild EventBuilder: ../armory/EventBuilder.cpp ../armory/DataBlock.h ../armory/evtReader.h ../mapping.h $(CC) ../armory/EventBuilder.cpp -o EventBuilder `root-config --cflags --glibs` #this is for online root MergeEVT: ../armory/MergeEVT.cpp ../armory/DataBlock.h ../armory/evtReader.h ../mapping.h $(CC) ../armory/MergeEVT.cpp -o MergeEVT `root-config --cflags --glibs` #this is for online spectrums evt2hist: ../armory/evt2hist.cpp ../armory/DataBlock.h ../armory/evtReader.h ../mapping.h $(CC) ../armory/evt2hist.cpp -o evt2hist `root-config --cflags --glibs` nscl2pixie: ../armory/nscl2pixie.c $(CC) ../armory/nscl2pixie.c -o nscl2pixie ev22txt: ../armory/ev22txt.cpp $(CC) ../armory/ev22txt.cpp -o ev22txt #EventBuilder: ../armory/EventBuilder.cpp # $(CC) ../armory/EventBuilder.cpp -o EventBuilder `root-config --cflags --glibs` clean: -rm xia2root to2root MergeEVT evt2hist pxi-time-order ev22txt EventBuilder test