#############################################################################
#
#                   Copyright (C) 1993 SciTech Software
#                           All rights reserved.
#
# Descripton:   Generic makefile for the MegaToolbox 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/07 09:44:48 kjb Exp $
#
#############################################################################

!include "\makedefs\makedefs.def"

LIBS    =   sysinf.lib
MLIBS   =   $(LIBS) console.lib

# Build all of the example programs

all: mode43.exe set43.exe mono.exe sysinfo.exe more.exe

mode43.exe: mode43.obj
    $(CC) $(CC_FLAGS) mode43.obj $(LIBS)

set43.exe: set43.obj
    $(CC) $(CC_FLAGS) set43.obj $(LIBS)

mono.exe: mono.obj
    $(CC) $(CC_FLAGS) mono.obj $(LIBS)

sysinfo.exe: sysinfo.obj
    $(CC) $(CC_FLAGS) sysinfo.obj $(LIBS)

more.exe: more.obj getopt.obj
    $(CC) $(CC_FLAGS) more.obj getopt.obj $(MLIBS)

!include "\makedefs\common.def"

