misc cleanup
This commit is contained in:
parent
b009998930
commit
aeb2fd0d39
7 changed files with 11 additions and 11 deletions
6
Makefile
6
Makefile
|
|
@ -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++ \
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#include "ledger.h"
|
||||
#include "amount.h"
|
||||
|
||||
#include "gmp.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#include "ledger.h"
|
||||
#include "balance.h"
|
||||
|
||||
namespace ledger {
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
#include "ledger.h"
|
||||
#include "debug.h"
|
||||
|
||||
#include <vector>
|
||||
#include <fstream>
|
||||
|
|
|
|||
2
debug.cc
2
debug.cc
|
|
@ -102,4 +102,4 @@ static struct init_streams {
|
|||
|
||||
} // namespace ledger
|
||||
|
||||
#endif DEBUG_ENABLED
|
||||
#endif // DEBUG_ENABLED
|
||||
|
|
|
|||
8
ledger.h
8
ledger.h
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
#include "valexpr.h"
|
||||
#include "error.h"
|
||||
#include "datetime.h"
|
||||
#include "debug.h"
|
||||
|
||||
#include <vector>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue