#
# Copyright  2014 Daniel Taliun, Johann Gamper and Cristian Pattaro. All rights reserved.
#
# This file is part of S-MIG++.
#
# S-MIG++ is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# S-MIG++ is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with S-MIG++. If not, see <http://www.gnu.org/licenses/>.
#

applib:	AlgorithmCI.o Bayesian.o Zapata.o AlgorithmFactory.o Cell.o Profile.o Profile_FS.o ProfileFactory.o ProfileFactory_FS.o ContourBuilder.o MIG.o

AlgorithmCI.o:	AlgorithmCI.cpp
			g++ -std=c++11 -Wall -O3 -c -o $@ $<
			
Bayesian.o:	Bayesian.cpp
			g++ -std=c++11 -Wall -O3 -c -o $@ $<
			
Zapata.o:	Zapata.cpp
			g++ -std=c++11 -Wall -O3 -c -o $@ $<
		
AlgorithmFactory.o:	AlgorithmFactory.cpp
			g++ -std=c++11 -Wall -O3 -c -o $@ $<
					
Cell.o:		Cell.cpp
			g++ -std=c++11 -Wall -O3 -c -o $@ $<
			
Profile.o:	Profile.cpp
			g++ -std=c++11 -Wall -O3 -c -o $@ $<

Profile_FS.o:	Profile_FS.cpp
			g++ -std=c++11 -Wall -O3 -c -o $@ $<
				
ProfileFactory.o:	ProfileFactory.cpp
			g++ -std=c++11 -Wall -O3 -c -o $@ $<
										
ProfileFactory_FS.o:	ProfileFactory_FS.cpp
			g++ -std=c++11 -Wall -O3 -c -o $@ $<
					
ContourBuilder.o:	ContourBuilder.cpp
			g++ -std=c++11 -Wall -O3 -c -o $@ $<

MIG.o:	MIG.cpp
			g++ -std=c++11 -Wall -O3 -c -o $@ $<

clean:  
	@-rm -f *.o
