Updated to 1.1.

This commit is contained in:
John Wiegley 2004-02-13 00:25:56 +00:00
parent 17ae1f83b5
commit 2ab50e584d
3 changed files with 5 additions and 3 deletions

View file

@ -1,10 +1,10 @@
CODE = amount.cc ledger.cc parse.cc reports.cc CODE = amount.cc ledger.cc parse.cc reports.cc
OBJS = $(patsubst %.cc,%.o,$(CODE)) OBJS = $(patsubst %.cc,%.o,$(CODE))
CFLAGS = -Wall -ansi -pedantic CFLAGS = #-Wall -ansi -pedantic
DFLAGS = -O3 -fomit-frame-pointer DFLAGS = -O3 -fomit-frame-pointer
#DFLAGS = -g -DDEBUG=1 #DFLAGS = -g -DDEBUG=1
INCS = -I/sw/include INCS = -I/usr/local/include
LIBS = -L/sw/lib -lgmpxx -lgmp -lpcre LIBS = -L/usr/local/lib -lgmpxx -lgmp -lpcre
ifdef GNUCASH ifdef GNUCASH
CODE := $(CODE) gnucash.cc CODE := $(CODE) gnucash.cc

1
README
View file

@ -5,6 +5,7 @@ of commodities, unlimited accounts, etc.
Ledger is written in ANSI C++, and should compile on any platform. It Ledger is written in ANSI C++, and should compile on any platform. It
only depends on the GNU multiprecision integer library (gmp, or only depends on the GNU multiprecision integer library (gmp, or
libgmp), and the Perl regular expression library (pcre, or libpcre). 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, To build and install, once you have these libraries on your system,
enter these commands: enter these commands:

View file

@ -1,6 +1,7 @@
#include "ledger.h" #include "ledger.h"
#include <fstream> #include <fstream>
#include <unistd.h>
namespace ledger { namespace ledger {