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 /Makefile | |
parent | d022744c18729b6e70dc5fe11d18317b964d0a4f (diff) | |
download | fork-ledger-1a5390243edf87b21e7bba0568150d50e3f10d5a.tar.gz fork-ledger-1a5390243edf87b21e7bba0568150d50e3f10d5a.tar.bz2 fork-ledger-1a5390243edf87b21e7bba0568150d50e3f10d5a.zip |
Makefile and sample.dat changes
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 9 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 |