2024-01-27 00:10:17 -05:00
|
|
|
########################################################################
|
|
|
|
#
|
|
|
|
#
|
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
CC = g++
|
|
|
|
|
|
|
|
#COPTS = -fPIC -DLINUX -O2 -std=c++17 -lpthread
|
|
|
|
COPTS = -fPIC -DLINUX -g -O0 -Wall -std=c++17 -lpthread
|
|
|
|
|
|
|
|
ROOTLIBS = `root-config --cflags --glibs`
|
|
|
|
|
2024-02-01 19:02:30 -05:00
|
|
|
ALL = Mapper AnasenMS
|
2024-01-27 00:10:17 -05:00
|
|
|
|
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
all : $(ALL)
|
|
|
|
|
|
|
|
clean :
|
|
|
|
/bin/rm -f $(OBJS) $(ALL)
|
|
|
|
|
2024-02-01 19:02:30 -05:00
|
|
|
Mapper : Mapper.cpp ../mapping.h ClassDet.h
|
2024-01-27 00:10:17 -05:00
|
|
|
@echo "--------- making Mapper"
|
|
|
|
$(CC) $(COPTS) -o Mapper Mapper.cpp $(ROOTLIBS)
|
2024-02-01 19:02:30 -05:00
|
|
|
|
2024-02-02 16:54:58 -05:00
|
|
|
AnasenMS : constant.h Isotope.h ClassTransfer.h ClassSX3.h ClassPW.h ClassAnasen.h anasenMS.cpp
|
2024-02-01 19:02:30 -05:00
|
|
|
@echo "--------- making ANASEN Monte Carlo"
|
2024-02-02 16:54:58 -05:00
|
|
|
$(CC) $(COPTS) -o AnasenMS anasenMS.cpp $(ROOTLIBS)
|