misc cleanup

This commit is contained in:
John Wiegley 2004-08-17 03:39:51 -04:00
parent b009998930
commit aeb2fd0d39
7 changed files with 11 additions and 11 deletions

View file

@ -21,9 +21,9 @@ OBJS = $(patsubst %.cc,%.o,$(CODE))
CXX = g++
CFLAGS = -Wall -ansi -pedantic
#DFLAGS = -O3 -fomit-frame-pointer -DRELEASE_LEVEL=0 -DNO_CLEANUP
DFLAGS = -g -DRELEASE_LEVEL=4 -DNO_CLEANUP
#DFLAGS = -g -DRELEASE_LEVEL=2 -pg -DNO_CLEANUP
#DFLAGS = -O3 -fomit-frame-pointer -DRELEASE_LEVEL=0
DFLAGS = -g -DRELEASE_LEVEL=4
#DFLAGS = -g -DRELEASE_LEVEL=2 -pg
INCS = -I/sw/include \
-I/usr/include/gcc/darwin/3.3/c++ \

View file

@ -1,4 +1,4 @@
#include "ledger.h"
#include "amount.h"
#include "gmp.h"

View file

@ -1,4 +1,4 @@
#include "ledger.h"
#include "balance.h"
namespace ledger {

View file

@ -1,5 +1,4 @@
#include "ledger.h"
#include "debug.h"
#include <vector>
#include <fstream>

View file

@ -102,4 +102,4 @@ static struct init_streams {
} // namespace ledger
#endif DEBUG_ENABLED
#endif // DEBUG_ENABLED

View file

@ -16,15 +16,17 @@
#include <ctime>
#include <iostream>
#include "amount.h"
#include "balance.h"
#ifdef RELEASE_LEVEL
#if RELEASE_LEVEL >= 2
#include "debug.h"
#elif RELEASE_LEVEL == 0
#define NO_CLEANUP 1
#endif
#endif
#include "amount.h"
#include "balance.h"
namespace ledger {
// These flags persist with the object

View file

@ -1,7 +1,6 @@
#include "valexpr.h"
#include "error.h"
#include "datetime.h"
#include "debug.h"
#include <vector>