summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 19ac1f7a..adb62b03 100644
--- a/Makefile
+++ b/Makefile
@@ -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