# Makefile -- makefile for xacc/src/engine # Copyright (C) 1997 Robin Clark # Copyright (C) 1998 Linas Vepstas # Copyright (C) 1998 Rob Browning # # This program 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. # # This program 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 this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. # # Author: Robin Clark # Internet: rclark@rush.aero.org # Address: 609 8th Street # Huntington Beach, CA 92648-4632 include @top_srcdir@/Makefile.init INCLPATH = -I@srcdir@/../../include -I@srcdir@/../.. -I@prefix@/include CFLAGS = @CFLAGS@ ${INCLPATH} ###################################################################### # See Makefile.common for information about these variables. INDEP_SRCS := AccInfo.c Account.c DateUtils.c FileIO.c Group.c LedgerUtils.c \ QIFIO.c Query.c Scrub.c Transaction.c TransLog.c date.c util.c ###################################################################### all: default # This inclusion must come after the first target, and after the # definitions of *_SRCS, etc., but before the usage of *_OBJS. include @top_srcdir@/Makefile.common default: ../libengine.a ../libengine.a: ${OBJS} ar vru libengine.a ${OBJS} (cd .. && ln -sf engine/libengine.a .) TRASH += ../libengine.a libengine.a .PHONY: all default # Local Variables: # tab-width: 2 # End: