###############################################
#
#  WMake Makefile for Adder
#
# (C) Copyright 1992 by GO Corporation, All Rights Reserved.
#
# You may use this Sample Code any way you please provided you 
# do not resell the code and that this notice (including the above 
# copyright notice) is reproduced on all copies.  THIS SAMPLE CODE 
# IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, AND GO CORPORATION 
# EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES, INCLUDING BUT NOT 
# LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
# PARTICULAR PURPOSE. IN NO EVENT WILL GO CORPORATION BE LIABLE TO YOU 
# FOR ANY CONSEQUENTIAL,INCIDENTAL,OR INDIRECT DAMAGES ARISING OUT OF 
# THE USE OR INABILITY TO USE THIS SAMPLE CODE.
#
# $Revision:   1.5  $
#   $Author:   kcatlin  $
#     $Date:   31 Jan 1992 08:22:34  $
#
###############################################

# Set PENPOINT_PATH to your environment variable, if it exists.
# Otherwise, set it to \penpoint
!ifdef %PENPOINT_PATH
PENPOINT_PATH = $(%PENPOINT_PATH)
!else
PENPOINT_PATH = \penpoint
!endif


#  The DOS name of your project directory
PROJ = adder

#  Standard defines for sample code
!INCLUDE $(PENPOINT_PATH)\sdk\sample\sdefines.mif

#  The PenPoint name of your application
EXE_NAME = Adder

#  The linker name for your executable : company-name-V<major>(<minor>)
EXE_LNAME	= GO-ADDER_EXE-V1(0)

#  Object files needed to build your app
EXE_OBJS = methods.obj adderevl.obj adderapp.obj

#  Libs needed to build your app
EXE_LIBS = penpoint app xtemplt


# Targets

all: $(APP_DIR)\$(PROJ).exe .SYMBOLIC

#  The clean rule must be :: because it is also defined in srules
clean :: .SYMBOLIC
 -del methods.h
 -del adderapp.lib

#  Dependencies

adderapp.obj: adderapp.c methods.h
adderevl.obj: adderevl.c methods.h adderevl.h
methods.obj: methods.tbl adderevl.h


#  Standard rules for sample code
!INCLUDE $(PENPOINT_PATH)\sdk\sample\srules.mif
