include ../make.inc

OBJECTS_CC = TauolaHEPEVTEvent.o TauolaHEPEVTParticle.o

ifneq ($(HEPMCLOCATION), )
  OBJECTS_CC += TauolaHepMCParticle.o TauolaHepMCEvent.o
endif

ifneq ($(HEPMC3LOCATION), )
  OBJECTS_CC += TauolaHepMC3Particle.o TauolaHepMC3Event.o
endif

all:   $(OBJECTS_CC)


TauolaHEPEVTEvent.o: TauolaHEPEVTEvent.cxx
	$(CC) $(CFLAGS) $(DEBUG) -I. -I../tauolaCInterfaces -I../tauolaFortranInterfaces -I../utilities  -c $< -o $@

TauolaHEPEVTParticle.o: TauolaHEPEVTParticle.cxx
	$(CC) $(CFLAGS) $(DEBUG) -I. -I../tauolaCInterfaces -I../tauolaFortranInterfaces -I../utilities  -c $< -o $@

TauolaHepMCParticle.o: TauolaHepMCParticle.cxx
	$(CC) $(CFLAGS) $(DEBUG) -I. -I../tauolaCInterfaces -I../tauolaFortranInterfaces -I../utilities -I$(HEPMCLOCATION)/include -c $< -o $@

TauolaHepMCEvent.o: TauolaHepMCEvent.cxx
	$(CC) $(CFLAGS) $(DEBUG) -I. -I../tauolaCInterfaces -I../tauolaFortranInterfaces -I../utilities -I$(HEPMCLOCATION)/include -c $< -o $@

TauolaHepMC3Particle.o: TauolaHepMC3Particle.cxx
	$(CC) $(CFLAGS) $(DEBUG) -I. -I../tauolaCInterfaces -I../tauolaFortranInterfaces -I../utilities -I$(HEPMC3LOCATION)/include -c $< -o $@

TauolaHepMC3Event.o: TauolaHepMC3Event.cxx
	$(CC) $(CFLAGS) $(DEBUG) -I. -I../tauolaCInterfaces -I../tauolaFortranInterfaces -I../utilities -I$(HEPMC3LOCATION)/include -c $< -o $@


clean:                                                     
	rm -f *.o; rm -f *~;	

