###############################################
#
#  WMake Makefile for the templtap application
#
# (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:37:14  $
#
###############################################

!ifdef %PENPOINT_PATH
PENPOINT_PATH = $(%PENPOINT_PATH)
!else
PENPOINT_PATH = \penpoint
!endif

#  The DOS name of your project directory.
PROJ = templtap

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

#  The PenPoint name of your application
EXE_NAME	= Template Application

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

#  Object files needed to build your app
EXE_OBJS = methods.obj templtap.obj foo.obj

#  Libs needed to build your app
EXE_LIBS = penpoint app

RES_FILES = template.res

# Targets

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

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

#  Dependencies

templtap.obj: templtap.c templtap.h methods.h

foo.obj: foo.c foo.h methods.h 

methods.obj: methods.tbl templtap.h foo.h

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

