diff options
author | John Wiegley <johnw@newartisans.com> | 2004-06-22 02:19:15 -0400 |
---|---|---|
committer | johnw <johnw@newartisans.com> | 2004-06-22 02:19:15 -0400 |
commit | 1a5390243edf87b21e7bba0568150d50e3f10d5a (patch) | |
tree | 61c708a1617a6591c45df05800329a05d6d78eb3 | |
parent | d022744c18729b6e70dc5fe11d18317b964d0a4f (diff) | |
download | fork-ledger-1a5390243edf87b21e7bba0568150d50e3f10d5a.tar.gz fork-ledger-1a5390243edf87b21e7bba0568150d50e3f10d5a.tar.bz2 fork-ledger-1a5390243edf87b21e7bba0568150d50e3f10d5a.zip |
Makefile and sample.dat changes
-rw-r--r-- | Makefile | 14 | ||||
-rw-r--r-- | sample.dat | 11 |
2 files changed, 20 insertions, 5 deletions
@@ -2,9 +2,9 @@ CODE = amount.cc ledger.cc parse.cc reports.cc OBJS = $(patsubst %.cc,%.o,$(CODE)) #CXX = cc CXX = g++ -CFLAGS = -Wall -ansi -pedantic -#DFLAGS = -O3 -fomit-frame-pointer -DFLAGS = -g -DDEBUG=1 +CFLAGS = #-Wall -ansi -pedantic +DFLAGS = -O3 -fomit-frame-pointer +#DFLAGS = -g -DDEBUG=1 INCS = -I/sw/include -I/usr/include/gcc/darwin/3.3/c++ -I/usr/include/gcc/darwin/3.3/c++/ppc-darwin LIBS = -L/sw/lib -lgmpxx -lgmp -lpcre @@ -27,14 +27,18 @@ ledger: $(OBJS) ledger.info: ledger.texi makeinfo $< +ledger.pdf: ledger.texi + texi2pdf $< + %.o: %.cc $(CXX) $(CFLAGS) $(INCS) $(DFLAGS) -c -o $@ $< clean: - rm -f ledger *.o *.elc *~ .\#* + rm -f ledger *.o *.elc *~ .\#* .gdb_history README.texi + rm -f *.aux *.cp *.fn *.ky *.log *.pg *.toc *.tp *.vr distclean fullclean: clean - rm -f ledger.info README.html README.pdf *.elc make.deps + rm -f ledger.info README.html *.pdf *.elc make.deps TAGS rebuild: clean deps all diff --git a/sample.dat b/sample.dat new file mode 100644 index 00000000..4e714275 --- /dev/null +++ b/sample.dat @@ -0,0 +1,11 @@ +2004/05/01 Checking balance + Assets:Checking $500.00 + Equity:Opening Balances + +2004/05/29 Book Store + Expenses:Books $20.00 + Assets:Checking + +2004/05/29 Restaurant + Expenses:Food $50.00 + Liabilities:MasterCard |