2024-04-11 19:29:23 -04:00
|
|
|
CC=g++
|
2024-07-04 18:30:21 -04:00
|
|
|
# CFLAG= -g
|
|
|
|
CFLAG= -O2
|
2024-04-11 19:29:23 -04:00
|
|
|
ROOTFLAG=`root-config --cflags --glibs`
|
|
|
|
all: EventBuilder
|
|
|
|
|
|
|
|
EventBuilder: EventBuilder.cpp SolReader.h ../Hit.h
|
|
|
|
$(CC) $(CFLAG) EventBuilder.cpp -o EventBuilder ${ROOTFLAG}
|
|
|
|
|
|
|
|
test: test.cpp ../ClassDigitizer2Gen.o
|
|
|
|
$(CC) $(CFLAG) test.cpp ../ClassDigitizer2Gen.o -o test -lcurl -lCAEN_FELib -lX11
|
|
|
|
|
|
|
|
clean:
|
|
|
|
-rm EventBuilder
|