##############################################################################
##             ___________  #                                               ##
##  Raymond   / _________/  #  Capper version 0.01 beta (general release)   ##
##   Sheh    / /      __    #  for Palm OS 5.0 and above                    ##
##          / /___  _/ /    #                                               ##
##         /_____ \ \_/     #  Copyright (C) 2003 Raymond Sheh              ##
##        __     \ \        #                                               ##
##       / / ____ \ \       #  capper@raybot.net                            ##
##      /_/ /____\ \_\     #  http://capper.raybot.net                     ##
##                          #                                    2003-03-30 ##
##############################################################################
##
## This file is part of Capper version 0.01 beta (general release)
## Copyright (C) 2003  Raymond Sheh
## Portions Copyright (C) 2002 Yih-Chun Hu
##
## Capper is free software; you can redistribute it and#or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## Capper is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with Capper (LICENCE.txt); if not, write to the Free Software
## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
##
## 
## NOTE: In order to compile this program, you will need the PalmOS 5
##       SDK or later, PRC-tools 2.2-1 or later and PilRC 2.9 or later, 
##       in addition to a Unix environment (or Cygwin under Windows). 
##       As at February 2003, all these tools can be located from links 
##       at the PalmOS Developers' Website at http://dev.palmos.com .
## 

all: capper.prc

tFRM03e8.bin: capper.rcp capper.h
	pilrc capper.rcp

capper: capper.c capper.h
	m68k-palmos-gcc -Wall capper.c -o capper

code0000.capper.grc: capper
	m68k-palmos-obj-res capper

capper.prc: code0000.capper.grc tFRM03e8.bin
	build-prc -z 2 capper.prc "Capper" CapR *.bin *.capper.grc
