Skip to content

Commit

Permalink
Merge pull request bumptech#69 from bfg/config_file
Browse files Browse the repository at this point in the history
Added configuration file support.
  • Loading branch information
Jamie Turner committed Feb 24, 2012
2 parents 17918b7 + 8f8c65b commit 8cff14c
Show file tree
Hide file tree
Showing 6 changed files with 1,345 additions and 462 deletions.
6 changes: 5 additions & 1 deletion .gitignore
@@ -1,2 +1,6 @@
conf*
conf
ebtree*
core
core.*
*.o
stud
7 changes: 6 additions & 1 deletion Makefile
Expand Up @@ -9,7 +9,7 @@ MANDIR = $(PREFIX)/share/man

CFLAGS = -O2 -g -std=c99 -fno-strict-aliasing -Wall -W -D_GNU_SOURCE
LDFLAGS = -lssl -lcrypto -lev
OBJS = stud.o ringbuffer.o
OBJS = stud.o ringbuffer.o configuration.o

all: realall

Expand All @@ -28,6 +28,11 @@ ebtree:
exit 1 )
endif

# No config file support?
ifneq ($(NO_CONFIG_FILE),)
CFLAGS += -DNO_CONFIG_FILE
endif

ALL += stud
realall: $(ALL)

Expand Down

0 comments on commit 8cff14c

Please sign in to comment.