# MPMorph - Amiga Morphing program
# Copyright (C)  1995 Mark John Paddock

# $VER: MPMorph_makefile 4.4 (23.2.97)

# 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
# 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., 675 Mass Ave, Cambridge, MA 02139, USA.

# mpaddock@cix.compulink.co.uk
# mark@topic.demon.co.uk

# Make file for MPRender UNIX version

UDIR = sr/g/
CDIR = sr/

COBJ = $(CDIR)FindPoint.o $(CDIR)MPMorph-render.o $(CDIR)RenderSub.o
UOBJ = $(UDIR)Image.o $(UDIR)List.o $(UDIR)output.o $(UDIR)params.o

COPTS = define=__MPCLI=1 debug=sf verbose cpu=040 math=881

.c.o:
	sc $(COPTS) $*.c

MPRender.unix: $(COBJ) $(UOBJ)
	sc link $(COPTS) $(COBJ) $(UOBJ) to MPRender.unix

$(CDIR)FindPoint.o: $(CDIR)FindPoint.c $(CDIR)Render.h $(UDIR)unix.h

$(CDIR)MPMorph-render.o: $(CDIR)MPMorph-render.c $(CDIR)Render.h $(UDIR)unix.h

$(CDIR)RenderSub.o: $(CDIR)RenderSub.c $(CDIR)Render.h $(UDIR)unix.h

$(UDIR)Image.o: $(UDIR)Image.c $(UDIR)unix.h

$(UDIR)List.o: $(UDIR)List.c $(UDIR)unix.h

$(UDIR)output.o: $(UDIR)output.c $(UDIR)unix.h

$(UDIR)params.o: $(UDIR)params.c $(UDIR)unix.h
