16 lines
454 B
Makefile
16 lines
454 B
Makefile
CC = g++
|
|
COPTS = -fPIC -DLINUX -O2 -std=c++17 -lpthread
|
|
CAENLIBS = -lCAEN_FELib
|
|
|
|
all: test test_indep ClassDigitizer2Gen.o
|
|
|
|
test_indep : test_indep.cpp
|
|
$(CC) $(COPTS) -o test_indep test_indep.cpp $(CAENLIBS)
|
|
|
|
test : test.cpp ClassDigitizer2Gen.o
|
|
$(CC) $(COPTS) -o test test.cpp ClassDigitizer2Gen.o $(CAENLIBS)
|
|
|
|
ClassDigitizer2Gen.o : ClassDigitizer2Gen.cpp ClassDigitizer2Gen.h Event.h
|
|
$(CC) $(COPTS) -c ClassDigitizer2Gen.cpp $(CAENLIBS)
|
|
|