Browse Source

Introduce vector debuggin code and stats restriction options

master
Dirk Engling 13 years ago
parent
commit
ee330be078
  1. 6
      Makefile

6
Makefile

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.50 2008/10/07 23:53:29 erdgeist Exp $
# $Id: Makefile,v 1.51 2008/10/24 00:00:55 erdgeist Exp $
CC?=gcc
@ -29,7 +29,9 @@ BINDIR?=$(PREFIX)/bin
#FEATURES+=-DWANT_IP_FROM_QUERY_STRING
#FEATURES+=-DWANT_COMPRESSION_GZIP
#FEATURES+=-DWANT_LOG_NETWORKS
#FEATURES+=-DWANT_RESTRICT_STATS
#FEATURES+=-D_DEBUG_HTTPERROR
#FEATURES+=-D_DEBUG_VECTOR
FEATURES+=-DWANT_FULLSCRAPE
@ -53,7 +55,7 @@ all: $(BINARY) $(BINARY).debug
CFLAGS_production = $(CFLAGS) $(OPTS_production) $(FEATURES)
CFLAGS_debug = $(CFLAGS) $(OPTS_debug) $(FEATURES)
$(BINARY): $(OBJECTS)
$(BINARY): $(OBJECTS) $(HEADERS)
$(CC) -o $@ $(OBJECTS) $(LDFLAGS)
strip $@
$(BINARY).debug: $(OBJECTS_debug) $(HEADERS)

Loading…
Cancel
Save