diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -1,17 +1,16 @@ CODE = amount.cc ledger.cc parse.cc reports.cc OBJS = $(patsubst %.cc,%.o,$(CODE)) CFLAGS = -Wall -ansi -pedantic -#DFLAGS = -O3 -fomit-frame-pointer -mcpu=pentium +DFLAGS = -O3 -fomit-frame-pointer -mcpu=pentium #DFLAGS = -g -DDEBUG=1 -DFLAGS = -O2 INCS = LIBS = -lgmpxx -lgmp -lpcre ifdef GNUCASH -CODE := $(CODE) gnucash.cc +CODE := $(CODE) gnucash.cc CFLAGS := $(CFLAGS) -DREAD_GNUCASH=1 -INCS := $(INCS) -I/usr/include/xmltok -LIBS := $(LIBS) -lxmlparse +INCS := $(INCS) -I/usr/include/xmltok +LIBS := $(LIBS) -lxmlparse endif all: make.deps ledger ledger.info |