39 lines
1.0 KiB
Makefile
39 lines
1.0 KiB
Makefile
|
########################################################################
|
||
|
#
|
||
|
## --- CAEN SpA - Computing Division ---
|
||
|
#
|
||
|
## CAENDigitizer Software Project
|
||
|
#
|
||
|
## Created : October 2009 (Rel. 1.0)
|
||
|
#
|
||
|
## Auth: A. Lucchesi
|
||
|
#
|
||
|
#########################################################################
|
||
|
ARCH = `uname -m`
|
||
|
|
||
|
CC = g++
|
||
|
|
||
|
COPTS = -fPIC -DLINUX -w
|
||
|
|
||
|
DEPLIBS = -lCAENDigitizer
|
||
|
|
||
|
ROOTLIBS = `root-config --cflags --glibs`
|
||
|
|
||
|
#########################################################################
|
||
|
|
||
|
all : test
|
||
|
|
||
|
#clean :
|
||
|
# /bin/rm -f $(OBJS1) $(OBJS2) $(OUT2) ./CutsCreator ./BoxScore ./BoxScoreReader
|
||
|
|
||
|
test : test.cpp DigitizerClass.h
|
||
|
$(CC) -o test test.cpp $(DEPLIBS)
|
||
|
|
||
|
|
||
|
#CutsCreator: $(OBJS3) src/CutsCreator.c
|
||
|
# g++ -std=c++17 -pthread src/CutsCreator.c -o CutsCreator $(ROOTLIBS)
|
||
|
|
||
|
#BoxScore : src/BoxScore.c Class/DigitizerClass.h Class/FileIO.h Class/GenericPlane.h Class/HelioTarget.h Class/IsoDetect.h Class/HelioArray.h Class/MCPClass.h
|
||
|
# g++ -std=c++17 -pthread src/BoxScore.c -o BoxScore $(DEPLIBS) $(ROOTLIBS)
|
||
|
|