diff options
author | John Wiegley <johnw@newartisans.com> | 2003-09-30 07:17:02 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2003-09-30 07:17:02 +0000 |
commit | 85c92e10db043170adbe9a36152907dbb0ea8138 (patch) | |
tree | eafde5c72272c055378a43b843428fdca7643bda /Makefile | |
parent | 5bd2401bc7cde0e01cd5b9d18cf077e255c4bd45 (diff) | |
download | fork-ledger-85c92e10db043170adbe9a36152907dbb0ea8138.tar.gz fork-ledger-85c92e10db043170adbe9a36152907dbb0ea8138.tar.bz2 fork-ledger-85c92e10db043170adbe9a36152907dbb0ea8138.zip |
*** empty log message ***
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -1,11 +1,21 @@ -CODE = amount.cc ledger.cc parse.cc gnucash.cc balance.cc main.cc +define GNUCASH +true +endef + +CODE = amount.cc ledger.cc parse.cc balance.cc main.cc +ifdef GNUCASH +CODE := $(CODE) gnucash.cc +endif OBJS = $(patsubst %.cc,%.o,$(CODE)) CFLAGS = -Wall -ansi -pedantic DFLAGS = -g INCS = -I/usr/include/xmltok -LIBS = -lgmpxx -lgmp -lpcre -lxmlparse +LIBS = -lgmpxx -lgmp -lpcre +ifdef GNUCASH +LIBS := $(LIBS) -lxmlparse +endif all: make.deps ledger |