###############################################
#
#  WMake Makefile for SX
#
# (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.0  $
# $Author:   aloomis  $
# $Date:   13 Aug 1992 12:03:42  $
#
###############################################
# 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

# uncomment to compile without debug information
MODE = production

# revision
APP_VERSION = 1.0

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

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

#  The PenPoint name of your application
EXE_NAME	= Serial I/O Demo

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

#  Object files needed to build your app
EXE_OBJS = methods.obj sxapp.obj sxview.obj sxopt.obj sxip.obj sxser.obj 

#  Libs needed to build your app (intl resfile and systutil for future)
EXE_LIBS = penpoint app text intl resfile sysutil

# The line below will be necessary for the future release.
#USA_RES_FILES = usa.res
RES_FILES = usa.res

# Targets -- the target line commented out will be used to compile
# the future version.
#all: $(APP_DIR)\$(PROJ).exe $(APP_DIR)\$(TARGET_RESFILE) .SYMBOLIC
all: $(APP_DIR)\$(PROJ).exe $(APP_DIR)\app.res .SYMBOLIC


#  Dependencies
sxopt.obj: sxopt.c sxapp.h methods.h
sxapp.obj: sxapp.c sxapp.h methods.h
sxview.obj: sxview.c sxapp.h methods.h
sxip.obj: sxip.c sxapp.h methods.h
sxser.obj: sxser.c sxapp.h methods.h
usa.res: usa.rc sxapp.h

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