alias install : install-bin install-lib ;
explicit install ;

install install-bin : coupledChannelApp singleChannelApp
                 : <location>$(TOP)/bin
                   <install-dependencies>on 
                   <install-type>EXE
                   ;

install install-lib : PwaApps
                 : <location>$(TOP)/lib 
                   <install-dependencies>on 
                   <install-type>LIB
                   ;

project : 
        ;

lib PwaApps : 
        [ glob *.cc : *App.cc ] : : : ;

exe coupledChannelApp : coupledChannelApp.cc PwaApps 
        $(TOP)/pbarpUtils//pbarpUtils
        $(TOP)/epemUtils//epemUtils
        $(TOP)/ConfigParser//ConfigParser
	$(TOP)/FitParams//FitParams
        $(TOP)/PwaUtils//PwaUtils
	$(TOP)/AppUtils//AppUtils
        $(TOP)/Particle//Particle
        $(TOP)/Event//Event
        $(TOP)/qft++//qft++ 
        $(TOP)/ErrLogger//ErrLogger
	: ;

exe singleChannelApp : singleChannelApp.cc PwaApps 
        $(TOP)/pbarpUtils//pbarpUtils
        $(TOP)/epemUtils//epemUtils
        $(TOP)/ConfigParser//ConfigParser
	$(TOP)/FitParams//FitParams
        $(TOP)/PwaUtils//PwaUtils
	$(TOP)/AppUtils//AppUtils
	$(TOP)/Utils//Utils
        $(TOP)/Particle//Particle
        $(TOP)/Event//Event
        $(TOP)/qft++//qft++ 
        $(TOP)/ErrLogger//ErrLogger
	: ;
