###############################################
#
#  WMake Makefile for npapp
#
# (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.7  $
#	$Author:   kcatlin  $
#	  $Date:   31 Jan 1992 08:30:04  $
#
###############################################

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

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

#  The PenPoint name of your application
EXE_NAME		=	NotePaper App

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

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

#  Libs needed to build your app
EXE_LIBS 		= 	penpoint app win input

#  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 		= 	bitmap.res $(PENPOINT_PATH)\sdk\dll\notepapr\notepapr.res

# The dlc file for the app
EXE_DLC 		= 	npapp.dlc

#  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.obj

#  Dependencies

methods.obj:		methods.tbl

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

