#****************************************************************************
#
#  Copyright (C) 2000-2001 Eli-Jean R. Leyssens, aka Pervect of Topix
#
#  This file is part of the CodePressor package.
#
#  This program 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 2 of the License, or
#  (at your option) any later version.
#
#  This program 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 this program; if not, write to the Free Software
#  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
#
#  Eli-Jean R. Leyssens can be reached via email at pervect@topixweb.com
#  snail: E-J.R. Leyssens, Schivelbeinerstr. 5, 10439 Berlin, Germany
#
#****************************************************************************

CFLAGS = -O2 -IOSLib: -D__swi -mthrowback -Wall

CC=gcc -mlibscl -static
AS=asasm
BIN=CodePressr
OBJS=main.o method0.o depack0.o method1.o depack1.o method2.o depack2.o method3.o depack3.o method4.o depack4.o method5.o depack5.o method6.o depack6.o method7.o depack7.o method8.o depack8.o inputfile.o asm.o outputfile.o methodsup.o tonyslide.o tonybslide.o
LIBS=-LOSLib: -lOSLib32

CodePressr: $(OBJS)
	$(CC) $(CFLAGS) -o $(BIN) $(OBJS) $(LIBS)
main.o: main.c inputfile.h outputfile.h method0.h method1.h method2.h method3.h method4.h method5.h method6.h method7.h method8.h app.h
inputfile.o: inputfile.c inputfile.h asm.h
outputfile.o: outputfile.c outputfile.h inputfile.h
method0.o: method0.c method0.h asm.h outputfile.h tonyslide.h nibslide.h methodsup.h
method1.o: method1.c method1.h asm.h outputfile.h tonyslide.h nibslide.h methodsup.h
method2.o: method2.c method2.h asm.h outputfile.h tonyslide.h nibslide.h methodsup.h
method3.o: method3.c method3.h asm.h outputfile.h tonyslide.h nibslide.h methodsup.h
method4.o: method4.c method4.h asm.h outputfile.h tonybslide.h byteslide.h methodsup.h
method5.o: method5.c method5.h asm.h outputfile.h tonybslide.h byteslide.h methodsup.h
method6.o: method6.c method6.h asm.h outputfile.h tonyslide.h nibslide.h methodsup.h
method7.o: method7.c method7.h asm.h outputfile.h tonyslide.h nibslide.h methodsup.h
method8.o: method8.c method8.h asm.h outputfile.h tonyslide.h nibslide.h methodsup.h
methodsup.o: methodsup.c methodsup.h
tonyslide.o: tonyslide.c tonyslide.h nibslide.h
tonybslide.o: tonybslide.c tonybslide.h byteslide.h
