2022-01-06 16:52:59 -05:00
|
|
|
CC=g++
|
2024-05-29 17:45:33 -04:00
|
|
|
CFLAG= -O2 -w
|
2022-01-06 16:52:59 -05:00
|
|
|
|
2022-02-02 16:37:27 -05:00
|
|
|
#all: to2root evt2hist MergeEVT ev22txt EventBuilder pxi-time-order
|
2024-05-29 14:39:38 -04:00
|
|
|
all: to2root evt2hist ev22txt EventBuilder pxi-fsu-time-order
|
2022-01-06 16:52:59 -05:00
|
|
|
|
|
|
|
#this is FSU evt to root
|
2024-05-29 14:39:38 -04:00
|
|
|
# xia2root: ../armory/xia2root.cpp
|
|
|
|
# $(CC) ../armory/xia2root.cpp -o xia2root `root-config --cflags --glibs`
|
2022-01-06 16:52:59 -05:00
|
|
|
|
|
|
|
#xia2ev2_nopart: armory/xia2ev2_nopart.cpp
|
|
|
|
# $(CC) armory/xia2ev2_nopart.cpp -o xia2ev2_nopart
|
|
|
|
|
|
|
|
#this is for eventbuild
|
2022-01-18 14:23:47 -05:00
|
|
|
to2root: ../armory/to2root.cpp ../armory/DataBlock.h ../armory/evtReader.h ../mapping.h
|
2024-05-29 17:45:33 -04:00
|
|
|
$(CC) $(CFLAG) ../armory/to2root.cpp -o to2root `root-config --cflags --glibs`
|
2022-01-06 16:52:59 -05:00
|
|
|
|
|
|
|
#this is for online root
|
2024-05-29 14:39:38 -04:00
|
|
|
# MergeEVT: ../armory/MergeEVT.cpp ../armory/DataBlock.h ../armory/evtReader.h ../mapping.h
|
|
|
|
# $(CC) ../armory/MergeEVT.cpp -o MergeEVT `root-config --cflags --glibs`
|
2022-01-06 16:52:59 -05:00
|
|
|
|
|
|
|
#this is for online spectrums
|
2022-01-14 18:30:27 -05:00
|
|
|
evt2hist: ../armory/evt2hist.cpp ../armory/DataBlock.h ../armory/evtReader.h ../mapping.h
|
2024-05-29 17:45:33 -04:00
|
|
|
$(CC) $(CFLAG) ../armory/evt2hist.cpp -o evt2hist `root-config --cflags --glibs`
|
2022-01-06 16:52:59 -05:00
|
|
|
|
2022-02-02 16:37:27 -05:00
|
|
|
pxi-fsu-time-order: ../armory/pxi-fsu-time-order.cpp
|
2024-05-29 17:45:33 -04:00
|
|
|
$(CC) $(CFLAG) ../armory/pxi-fsu-time-order.cpp -o pxi-fsu-time-order
|
2022-01-06 16:52:59 -05:00
|
|
|
|
|
|
|
ev22txt: ../armory/ev22txt.cpp
|
2024-05-29 17:45:33 -04:00
|
|
|
$(CC) $(CFLAG) ../armory/ev22txt.cpp -o ev22txt
|
2022-01-06 16:52:59 -05:00
|
|
|
|
2024-05-29 14:39:38 -04:00
|
|
|
EventBuilder: ../armory/EventBuilder.cpp
|
2024-05-29 17:45:33 -04:00
|
|
|
$(CC) $(CFLAG) ../armory/EventBuilder.cpp -o EventBuilder `root-config --cflags --glibs`
|
2022-01-06 16:52:59 -05:00
|
|
|
|
2022-01-13 18:23:41 -05:00
|
|
|
test: ../armory/test.cpp ../armory/DataBlock.h ../armory/evtReader.h ../mapping.h
|
2024-05-29 17:45:33 -04:00
|
|
|
$(CC) $(CFLAG) ../armory/test.cpp -o test `root-config --cflags --glibs`
|
2022-01-13 18:23:41 -05:00
|
|
|
|
2022-01-06 16:52:59 -05:00
|
|
|
clean:
|
2022-01-13 18:23:41 -05:00
|
|
|
-rm xia2root to2root MergeEVT evt2hist pxi-time-order ev22txt EventBuilder test
|