#############################################################################
#
#                   Copyright (C) 1993 SciTech Software.
#                           All rights reserved.
#
# Descripton:   Generic makefile for the MGL examples. Calls upon the
#               appropriate include file to bring in the correct definitions
#               for compiling with the sepecified compiler. By default
#               Borland C++ 3.1 is assumed.
#
# $Id: makefile 1.1 1994/03/09 08:00:35 kjb Exp $
#
#############################################################################

!include "\makedefs\makedefs.def"

OBJS    = main.obj getopt.obj

all:    mgldemo.exe ffilltst.exe

mgldemo.obj: mgldemo.c
    $(CC) $(CC_FLAGS) /DFLOODFILL_DEMO /c mgldemo.c

mgldemo.exe: mgldemo.obj ffill.obj getopt.obj
    $(CC) $(CC_FLAGS) mgldemo.obj ffill.obj getopt.obj mgraph.lib

ffilltst.exe: ffilltst.obj ffill.obj $(OBJS)
    $(CC) $(CC_FLAGS) ffilltst.obj ffill.obj $(OBJS) mgraph.lib ztimer_l.lib

!include "\makedefs\common.def"

