Skip to content

Commit

Permalink
- Created radixdb_make_* functions;
Browse files Browse the repository at this point in the history
- Fixed the bugs found in unit tests;
- Organized the command line file functions in the radixdb_util module.
  • Loading branch information
balena committed Mar 24, 2016
1 parent 94844f6 commit a94a0cd
Show file tree
Hide file tree
Showing 12 changed files with 443 additions and 577 deletions.
20 changes: 10 additions & 10 deletions Makefile
Expand Up @@ -33,7 +33,7 @@ INSTALLPROG = radixdb

CP = cp

LIB_SRCS = radixdb.c
LIB_SRCS = radixdb.c radixdb_make.c

DISTFILES = Makefile radixdb.h $(LIB_SRCS)
all: static
Expand All @@ -48,19 +48,19 @@ $(LIB): $(LIB_OBJS)
-$(RANLIB) $@

radixdbmk: radixdbmk.o $(USELIB)
$(LD) $(LDFLAGS) -o $@ radixdbmk.o $(USELIB)
$(LD) $(LDFLAGS) -o $@ $^

radixdbget: radixdbget.o $(USELIB)
$(LD) $(LDFLAGS) -o $@ radixdbget.o $(USELIB)
radixdbget: radixdbget.o radixdb_util.o $(USELIB)
$(LD) $(LDFLAGS) -o $@ $^

radixdbmatch: radixdbmatch.o $(USELIB)
$(LD) $(LDFLAGS) -o $@ radixdbmatch.o $(USELIB)
radixdbmatch: radixdbmatch.o radixdb_util.o $(USELIB)
$(LD) $(LDFLAGS) -o $@ $^

radixdbdump: radixdbdump.o $(USELIB)
$(LD) $(LDFLAGS) -o $@ radixdbdump.o $(USELIB)
radixdbdump: radixdbdump.o radixdb_util.o $(USELIB)
$(LD) $(LDFLAGS) -o $@ $^

radixdb2dot: radixdb2dot.o $(USELIB)
$(LD) $(LDFLAGS) -o $@ radixdb2dot.o $(USELIB)
radixdb2dot: radixdb2dot.o radixdb_util.o $(USELIB)
$(LD) $(LDFLAGS) -o $@ $^

.SUFFIXES:
.SUFFIXES: .c .o .lo
Expand Down

0 comments on commit a94a0cd

Please sign in to comment.