diff options
-rw-r--r-- | Makefile | 6 | ||||
-rw-r--r-- | README | 1 | ||||
-rw-r--r-- | ledger.cc | 1 |
3 files changed, 5 insertions, 3 deletions
@@ -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 @@ -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: @@ -1,6 +1,7 @@ #include "ledger.h" #include <fstream> +#include <unistd.h> namespace ledger { |