#
# 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:	Writer.o TextWriter.o GzipWriter.o WriterFactory.o

Writer.o:	Writer.cpp
			g++ -std=c++11 -Wall -O3 -c -o $@ $<
			
TextWriter.o:	TextWriter.cpp
			g++ -std=c++11 -Wall -O3 -c -o $@ $<
			
GzipWriter.o:	GzipWriter.cpp
			g++ -std=c++11 -Wall -O3 -c -o $@ $<
			
WriterFactory.o:	WriterFactory.cpp
			g++ -std=c++11 -Wall -O3 -c -o $@ $<

clean:  
	@-rm -f *.o
