# ====================================================
#  Mathengine Canada                          (c) 2000
#
#  Makefile for example based on generic template and
#  common core rules and definitions.
#
#  Requires makefile.lib and makefile.common
# ====================================================

# The desired name for the resulting executable
OUTNAME 	:= ConvexStairs

# The name of the directory that this example is found in.
DIRNAME 	:= $(OUTNAME)

# The list of source files needed for compilation.
SOURCES 	:= $(OUTNAME).c

# The location of the common makefile elements
MAKEDIR		:= ..

# Global definitions of library and grouping macros
include $(MAKEDIR)/makefile.lib

# List of libraries to link against.
# Appears verbatim on link line, if tuning/customizing
LIB_LIST 	:=  \
	$(LIB_MCDALL) \
	$(LIB_MDTALL) \
	$(LIB_MEVIEWER) \
	$(LIB_MEGLOBALS) \
	$(LIB_MEMESSAGE) \
	$(LIB_SYSTEM)

LIB_LIST_DEBUG 	:= \
	$(LIB_MCDALL_DEBUG) \
	$(LIB_MDTALL_DEBUG) \
	$(LIB_MEVIEWER_DEBUG) \
	$(LIB_MEGLOBALS_DEBUG) \
	$(LIB_MEMESSAGE_DEBUG) \
	$(LIB_SYSTEM_DEBUG)

LIB_LIST_CHECK 	:= \
	$(LIB_MCDALL_CHECK) \
	$(LIB_MDTALL_CHECK) \
	$(LIB_MEVIEWER_CHECK) \
	$(LIB_MEGLOBALS_CHECK) \
	$(LIB_MEMESSAGE_CHECK) \
	$(LIB_SYSTEM_CHECK)

# The generic rules for building MathEngine examples
include $(MAKEDIR)/makefile.common
