#########################################################################
#									#
#		    STMENU - Popup menu library				#
#									#
#		(c) Copyright 1991, Jan van der Steen			#
#		      Amsterdam, the Netherlands			#
#									#
#-----------------------------------------------------------------------#
# File    : makefile							#
# Purpose : make interface						#
#-----------------------------------------------------------------------#
#########################################################################

# At compile time the user can decide whether the library should
# dynamically check for the dereferencing of null pointers. This
# is advised during the development of a menu. The production
# version can be compiled with the MENU_TRUSTME set to 1. Amongst
# others, this will replace some functions with macros.

XFLAGS	= -DMENU_TRUSTME=0
DEBUG	= #-Y
CFLAGS	= ${DEBUG} ${XFLAGS}
LFLAGS	= ${DEBUG}

all:	sample

sample:	sample.prg

sample.prg: stmenu.o sample.o
	${LINK} ${LFLAGS} -C=sample.lnk

stmenu.o: stmenu.c	stmenu.h
sample.o: sample.c	stmenu.h

