# HOW TO RUN # OMP_NUM_THREADS=4 ./PlotEventData Events03.root # # Setting the linker and compiler flags and options INCLUDE = $(shell root-config --cflags) LIBS = $(shell root-config --libs) CXX = g++ CCFLAGS = -Wall -O3 -fopenmp # Define binary file name. BINS = PlotEventData # Define targets all: $(BINS) $(BINS): % : %.cpp #$(HEADS)/*.h $(CXX) $(CCFLAGS) $< $(INCLUDE) $(LIBS) -o $@ @echo "Done" clean: rm -f $(BINS) *~ *.so *.d cleanall: rm -f $(BINS) *~ *.so *.d *.pdf *.ps *.root