###############################################
#
#  WMake Makefile for TKDemo
#
# (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.8  $
#	$Author:   kcatlin  $
#	  $Date:   31 Jan 1992 08:45:14  $
#
###############################################

# 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 = tkdemo

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

#  The PenPoint name of your application
EXE_NAME = Toolkit Demo

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

#  The app's version (if undefined, srules.mif defines it to be 1.0)
APP_VERSION = 1.1

#  Object files needed to build your app
EXE_OBJS =	methods.obj &
			tkdemo.obj &
			borders.obj &
			labels.obj &
			buttons.obj &
			tables.obj &
			tktables.obj &
			optables.obj &
			customs.obj &
			options.obj &
			notes.obj &
			lboxes.obj &
			fields.obj &
			icons.obj

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

#  The .res files for your project; typically these will be bitmap resources
#  and/or compiled resource compiler files.  If you have resources, add 
#  $(APP_DIR)\app.res to the "all" target.
RES_FILES = icon.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

#  Dependencies

tkdemo.obj: tkdemo.c tkdemo.h
options.obj: options.c tkdemo.h
borders.obj: borders.c tkdemo.h
labels.obj: labels.c tkdemo.h
buttons.obj: buttons.c tkdemo.h
tables.obj: tables.c tkdemo.h
tktables.obj: tktables.c tkdemo.h
optables.obj: optables.c tkdemo.h
customs.obj: customs.c tkdemo.h
notes.obj: notes.c tkdemo.h
lboxes.obj: lboxes.c tkdemo.h
fields.obj: fields.c tkdemo.h
icons.obj: icons.c tkdemo.h gologo.inc
methods.obj: methods.tbl tkdemo.h

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

