15 lines
354 B
Makefile
15 lines
354 B
Makefile
CC=g++
|
|
CFLAG= -O2
|
|
#CFLAG= -g -O0
|
|
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
|