#
# 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:	Reader.o TextReader.o GzipReader.o ReaderFactory.o

Reader.o:	Reader.cpp
			mpic++ -std=c++11 -O3 -c -o $@ $<
			
TextReader.o:	TextReader.cpp
			mpic++ -std=c++11 -O3 -c -o $@ $<
			
GzipReader.o:	GzipReader.cpp
			mpic++ -std=c++11 -O3 -c -o $@ $<
			
ReaderFactory.o:	ReaderFactory.cpp
			mpic++ -std=c++11 -O3 -c -o $@ $<

clean:  
	@-rm -f *.o
