1# 2# $Id: Makefile,v 1.15 2008/01/15 18:10:43 dtynan Exp $ 3# 4# Copyright (c) 2004, Kalopa Media Limited. All rights reserved. 5# Copyright (c) 2005, Kalopa Research Limited. All rights reserved. 6# This is free software; you can redistribute it and/or modify it 7# under the terms of the GNU General Public License as published 8# by the Free Software Foundation; either version 2, or (at your 9# option) any later version. 10# 11# It is distributed in the hope that it will be useful, but WITHOUT 12# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 13# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public 14# License for more details. 15# 16# You should have received a copy of the GNU General Public License 17# along with this product; see the file COPYING. If not, write to 18# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, 19# USA. 20# 21# THIS SOFTWARE IS PROVIDED BY KALOPA RESEARCH LIMITED "AS IS" AND 22# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 23# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 24# PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL KALOPA 25# RESEARCH LIMITED BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 26# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 27# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF 28# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 29# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 31# IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 32# THE POSSIBILITY OF SUCH DAMAGE. 33# 34# ABSTRACT 35# 36# $Log: Makefile,v $ 37# Revision 1.15 2008/01/15 18:10:43 dtynan 38# Changed to use new company name and copyright, also fixed a few old 39# files with the wrong license. 40# 41# Revision 1.14 2006/10/01 10:32:33 dtynan 42# Major changes for VAT. 43# 44# Revision 1.13 2006/08/25 11:34:44 dtynan 45# No vatreturn any more. 46# 47# Revision 1.12 2006/08/25 11:27:14 dtynan 48# Lots of changes as per the end-of-year. 49# 50# Revision 1.11 2006/07/31 14:01:26 dtynan 51# Deprecated 'vatreturn', now part of the 'ros' setup. 52# 53# Revision 1.10 2006/07/31 13:58:32 dtynan 54# New application to dump the journal as a CSV file (for importing into 55# excel or gnumeric). 56# 57# Revision 1.9 2005/10/13 10:02:15 dtynan 58# Added a new utility to send an email with attachments. 59# 60# Revision 1.8 2005/10/12 10:19:56 dtynan 61# Added new application to display all products. 62# 63# Revision 1.7 2005/09/21 18:10:28 dtynan 64# Extensive changes prior to first public release, including an 65# import/export mechanism. 66# 67# Revision 1.6 2005/08/12 19:53:38 dtynan 68# Changed to use Linux make format. 69# 70# Revision 1.5 2005/03/22 09:41:23 dtynan 71# Extensive upgrade to make sure the copyright block was 72# consistent and GPL'ed. 73# 74# Revision 1.4 2005/02/17 17:17:48 dtynan 75# Fixed some issues with directory prefixes. 76# 77# Revision 1.3 2004/08/26 17:22:45 dtynan 78# New program to generate VAT3 returns. 79# 80# Revision 1.2 2004/08/07 15:31:24 dtynan 81# New program to produce a pro-forma bank statement. 82# 83# Revision 1.1 2004/08/05 12:32:09 dtynan 84# New components to produce management reports. 85# 86include ../beanie.mk 87 88EXES= acctview customers products report revrec email csvmake 89 90all: $(EXES) 91 92install: $(EXES) 93 -mkdir -p $(BEANIEROOT)/bin 94 $(INSTALL) -C -m 555 -s $(EXES) $(BEANIEROOT)/bin 95 96clean: 97 rm -f $(EXES) report.o acctview.o customers.o products.o \ 98 revrec.o email.o csvmake.o 99 100acctview: acctview.o 101 $(CC) -o acctview acctview.o $(LDFLAGS) 102 103customers: customers.o 104 $(CC) -o customers customers.o $(LDFLAGS) 105 106products: products.o 107 $(CC) -o products products.o $(LDFLAGS) 108 109report: report.o 110 $(CC) -o report report.o $(LDFLAGS) 111 112csvmake: csvmake.o 113 $(CC) -o csvmake csvmake.o $(LDFLAGS) 114 115revrec: revrec.o 116 $(CC) -o revrec revrec.o $(LDFLAGS) 117 118email: email.o 119 $(CC) -o email email.o $(LDFLAGS) 120