2022-05-24 18:21:12 -04:00
|
|
|
CC=g++
|
|
|
|
|
2022-06-06 19:57:17 -04:00
|
|
|
all: EventBuilder evt2hist MergeEVT ev22txt nscl2pixie
|
2022-05-24 18:21:12 -04:00
|
|
|
|
|
|
|
#this is for eventbuild
|
2022-06-06 19:57:17 -04:00
|
|
|
EventBuilder: ../armory/EventBuilder.cpp ../armory/DataBlock.h ../armory/evtReader.h ../mapping.h
|
|
|
|
$(CC) ../armory/EventBuilder.cpp -o EventBuilder `root-config --cflags --glibs`
|
2022-05-24 18:21:12 -04:00
|
|
|
|
|
|
|
#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`
|
|
|
|
|
2022-06-06 19:57:17 -04:00
|
|
|
nscl2pixie: ../armory/nscl2pixie.c
|
|
|
|
$(CC) ../armory/nscl2pixie.c -o nscl2pixie
|
2022-05-24 18:21:12 -04:00
|
|
|
|
|
|
|
ev22txt: ../armory/ev22txt.cpp
|
|
|
|
$(CC) ../armory/ev22txt.cpp -o ev22txt
|
|
|
|
|
2022-06-06 19:57:17 -04:00
|
|
|
#EventBuilder: ../armory/EventBuilder.cpp
|
|
|
|
# $(CC) ../armory/EventBuilder.cpp -o EventBuilder `root-config --cflags --glibs`
|
2022-05-24 18:21:12 -04:00
|
|
|
|
|
|
|
clean:
|
|
|
|
-rm xia2root to2root MergeEVT evt2hist pxi-time-order ev22txt EventBuilder test
|