Hi
I try to make tutorials/pythia/pythiaExample.C by makefile.
But I can’t see how to make this example.
This is my makefile.
TARGETS=pythiaExample
ROOTFLAGS = $(shell root-config --cflags)
ROOTLIBS = $(shell root-config --libs)
CXXFLAGS = -Wall -O2 $(ROOTFLAGS)
CXXLIBS = $(ROOTLIBS)
all: $(TARGETS)
pythiaExample: pythiaExample.o
g++ -o $@ pythiaExample.o $(CXXLIBS)
.cc.o:
g++ -c $(CXXFLAGS) $<
Of cource, This makefile can’t make. There is Pythia6 in “pythiaExample.C”.Please tell me how to make.
regard.