From 2ab50e584d81352e144de8719c0289d375472417 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 13 Feb 2004 00:25:56 +0000 Subject: [PATCH] Updated to 1.1. --- Makefile | 6 +++--- README | 1 + ledger.cc | 1 + 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index a1478b4f..ff9fd332 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,10 @@ CODE = amount.cc ledger.cc parse.cc reports.cc OBJS = $(patsubst %.cc,%.o,$(CODE)) -CFLAGS = -Wall -ansi -pedantic +CFLAGS = #-Wall -ansi -pedantic DFLAGS = -O3 -fomit-frame-pointer #DFLAGS = -g -DDEBUG=1 -INCS = -I/sw/include -LIBS = -L/sw/lib -lgmpxx -lgmp -lpcre +INCS = -I/usr/local/include +LIBS = -L/usr/local/lib -lgmpxx -lgmp -lpcre ifdef GNUCASH CODE := $(CODE) gnucash.cc diff --git a/README b/README index 5989f310..54c3a9a9 100644 --- a/README +++ b/README @@ -5,6 +5,7 @@ of commodities, unlimited accounts, etc. Ledger is written in ANSI C++, and should compile on any platform. It only depends on the GNU multiprecision integer library (gmp, or libgmp), and the Perl regular expression library (pcre, or libpcre). +Also, this project was developed using GNU make and gcc 3.3. To build and install, once you have these libraries on your system, enter these commands: diff --git a/ledger.cc b/ledger.cc index 8a1a61ce..4883c3cb 100644 --- a/ledger.cc +++ b/ledger.cc @@ -1,6 +1,7 @@ #include "ledger.h" #include +#include namespace ledger {