2024-07-18 19:02:22 -04: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-09-25 19:13:49 -04:00
|
|
|
ALL = Bin2Root Bin2Root2
|
2024-07-18 19:02:22 -04:00
|
|
|
|
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
all : $(ALL)
|
|
|
|
|
|
|
|
clean :
|
|
|
|
/bin/rm -f $(OBJS) $(ALL)
|
|
|
|
|
|
|
|
Bin2Root : Bin2Root.cpp BinReader.h
|
|
|
|
@echo "--------- making Bin2Root"
|
2024-09-14 19:21:24 -04:00
|
|
|
$(CC) $(COPTS) -o Bin2Root Bin2Root.cpp $(ROOTLIBS)
|
2024-09-25 19:13:49 -04:00
|
|
|
|
|
|
|
Bin2Root2 : Bin2Root2.cpp BinReader.h
|
|
|
|
@echo "--------- making Bin2Root2"
|
|
|
|
$(CC) $(COPTS) -o Bin2Root2 Bin2Root2.cpp $(ROOTLIBS)
|