XIAEventBuilder/makefile

28 lines
871 B
Makefile

CC=g++
#all: xia2root xia2ev2_nopart pixie2root scan pxi-time-order
#all: xia2root xia2ev2_nopart pixie2root scan evt2root evt2hist
all: xia2root pixie2root evt2root evt2hist
#this is FSU evt to root
xia2root: armory/xia2root.cpp
$(CC) armory/xia2root.cpp -o xia2root `root-config --cflags --glibs`
#xia2ev2_nopart: armory/xia2ev2_nopart.cpp
# $(CC) armory/xia2ev2_nopart.cpp -o xia2ev2_nopart
#this is for eventbuild
pixie2root: armory/pixie2root.cpp
$(CC) armory/pixie2root.cpp -o pixie2root `root-config --cflags --glibs`
#this is for online root
evt2root: armory/evt2root.cpp
$(CC) armory/evt2root.cpp -o evt2root `root-config --cflags --glibs`
#this is for online spectrums
evt2hist: armory/evt2hist.cpp
$(CC) armory/evt2hist.cpp -o evt2hist `root-config --cflags --glibs`
#pxi-time-order: pxi-time-order.c
# $(CC) pxi-time-order.c -o pxi-time-order