gnucash/Makefile

75 lines
3.2 KiB
Makefile
Raw Normal View History

######################################################################
#********************************************************************
#* Makefile -- makefile for xacc (X-Accountant) *
#* Copyright (C) 1997 Robin D. 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: Rob Clark *
#* Internet: rclark@cs.hmc.edu *
#* Address: 609 8th Street *
#* Huntington Beach, CA 92648-4632 *
#********************************************************************
######################################################################
# CONFIGURABLE STUFF: #
CC = gcc
AR = ar r
RANLIB = ranlib
# USE_NO_COLOR - don't use red/black colors to denote neg/positive
# balances, but instead display a signed number in
# the balance field
# USEQUICKFILL - comment out if you get a compile error about
# XbaeMatrixSetCursorPosition
# HYPER_HELP - include hyper-text help system
# DEBUGMEMORY - does some accounting whenever malloc/free
# is called.
# USEDEBUG - causes debugging info to be displayed
CFLAGS = $(LFLAGS) -I../include -I../libhtmlw -I/usr/X11/include \
-I/usr/local/include -DMOTIF1_2 \
-DDEBUGMEMORY -DUSEDEBUG
# -DUSEQUICKFILL # -DUSE_NO_COLOR -DDEBUGMEMORY -DUSEDEBUG
LFLAGS = -g -L/usr/local/lib -L/usr/X11/lib
LIBS = -lXm -lXmu -lXbae -lXt -lXext -lX11 -lSM -lICE -lXpm
######################################################################
######################################################################
# DO NOT EDIT THE STUFF BELOW THIS LINE! #
OPTIONS = "CC = $(CC)" "LFLAGS = $(LFLAGS)" \
"CFLAGS = $(CFLAGS)" "LIBS = $(LIBS)" \
"RANLIB = $(RANLIB)" "AR = $(AR)"
default :
@cd libhtmlw ; $(MAKE) $(OPTIONS)
@cd src ; $(MAKE) $(OPTIONS)
clean :
rm -f *~ *.bak
@cd include ; rm -f *~
@cd help ; rm -f *~
@cd libhtmlw ; $(MAKE) clean
@cd src ; $(MAKE) clean
really_clean : clean
@cd src ; $(MAKE) really_clean
depend :
@cd src ; $(MAKE) depend $(OPTIONS)