###############################################
#
#  WMake Makefile for Hello World
#
# (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:   24 Feb 1992 17:44:02  $
#
###############################################

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

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

#  The PenPoint name of your application
EXE_NAME = Hello World

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

#  Object files needed to build your app
EXE_OBJS = heltbl.obj hello.obj

#  Libs needed to build your app
EXE_LIBS = $(DLL_NAME) penpoint app

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

#  The linker name for the optional DLL : company-name-V<major>(<minor>)
DLL_LNAME	= GO-HELLO_DLL-V1(0)

#  Files for the optional DLL
DLL_OBJS = helwtbl.obj dllinit.obj hellowin.obj

#  Libs needed to build the optional DLL
DLL_LIBS = penpoint win

# Targets

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

#  The clean rule must be :: because it is also defined in srules
clean:: .SYMBOLIC
 -del heltbl.h
 -del heltbl.tc
 -del helwtbl.h
 -del helwtbl.tc
 -del hello.lib

#  Dependencies

hello.obj: hello.c heltbl.h hellowin.h

hellowin.obj: hellowin.c heltbl.h hellowin.h

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