mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-11-27 19:30:27 -06:00
d7b3bcf30d
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@194 57a11ea4-9604-0410-9ed3-97b8803252fd
73 lines
2.6 KiB
Makefile
73 lines
2.6 KiB
Makefile
#
|
|
######################################################################
|
|
#********************************************************************
|
|
#* Makefile -- makefile for xacc *
|
|
#* Copyright (C) 1997 Robin Clark *
|
|
#* *
|
|
#* 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 *
|
|
#********************************************************************
|
|
|
|
srcdir = @srcdir@
|
|
VPATH = @srcdir@
|
|
|
|
PREFIX = @prefix@
|
|
INSTALL = @INSTALL@
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
TARGET = xacc
|
|
CPU = @target_cpu@
|
|
|
|
######################################################################
|
|
#
|
|
# Description of targets:
|
|
#
|
|
# default -- make the application
|
|
# depend -- generate the dependencies
|
|
# clean -- remove *.a, *.o, *.bak, and *~
|
|
# distclean -- get rid of config files too...
|
|
# install -- installs everything
|
|
#
|
|
|
|
|
|
default:
|
|
@cd lib; $(MAKE)
|
|
@cd src; $(MAKE)
|
|
|
|
depend:
|
|
@cd lib; $(MAKE) depend
|
|
@cd src; $(MAKE) depend
|
|
|
|
clean:
|
|
rm -f *~ *.o *.bak
|
|
@cd lib; $(MAKE) clean
|
|
@cd src; $(MAKE) clean
|
|
|
|
distclean: clean
|
|
rm -f *~ *.o *.bak Makefile config.cache config.log config.status config.h
|
|
@cd lib; $(MAKE) distclean
|
|
@cd src; $(MAKE) distclean
|
|
|
|
# ???
|
|
#install: $(TARGET)
|
|
# @mkdir -p $(PREFIX)/bin
|
|
# @mkdir -p $(PREFIX)/share/xacc
|
|
# $(INSTALL) $(TARGET) $(PREFIX)/bin
|
|
# install html help files too!
|
|
|