#############################################################################
#
#                   Copyright (C) 1996 SciTech Software
#                           All rights reserved.
#
# Descripton:   Generic makefile for the MegaVision Application Frameworks.
#               Requires the SciTech Software makefile definitions package
#               to be installed.
#
#               Specifying CHECKS on the command line will enable a
#               debugging version of the MVis that does extra runtime
#               checking.
#
#############################################################################

# Comment the following if you dont use pre-compiled headers

.IF $(NO_PCH)
.ELSE
CFLAGS          += -DPC_HEADERS
.ENDIF

# Include definitions for the target system

.IMPORT .IGNORE : MGLDOS MGLWIN MGLPM MGLX

.IF $(USE_WIN32)
CFLAGS          += -DMGLWIN
.ENDIF

# Name of library

.IF $(STKCALL)
LIBFILE         = $(LP)smvis$L
.ELSE
LIBFILE         = $(LP)mvis$L
.ENDIF

LIBCLEAN        = *.dll *.lib *.a

# All the object modules in the library

OBJECTS =   mvision$O                                                   \
            hotkey$O mbackgnd$O mbitbtn$O mbutton$O mcheckbx$O          \
            mdesktop$O mdialog$O message$O mevent$O mfiledlg$O          \
            mfontmgr$O mframe$O mgroup$O minputl$O misc$O mlabel$O      \
            mlist$O mmenu$O mmenubar$O mmenuite$O mmltext$O mmodesel$O  \
            mprogram$O mradio$O mrendera$O mscrollb$O msgbox$O          \
            mstatic$O msttext$O mtbbtn$O mtitleb$O mview$O mvtext$O     \
            mwindow$O safetyp$O validvw$O viewstk$O

# Define the list of object files to create dependency information for

DEPEND_OBJ      = $(OBJECTS)

.INCLUDE: "$(SCITECH)/makedefs/common.mk"

