Cleaned up some memory leaks, got rid of gsequence, improved test macro to free memory that it allocated

This commit is contained in:
Dan Hirsch 2012-05-17 15:51:19 +02:00
parent 9530ed0b64
commit 764d0d7071
9 changed files with 102 additions and 54 deletions

View file

@ -2,6 +2,9 @@
OUTPUTS := bitreader.o \
hammer.o \
libhammer.a \
pprint.o \
allocator.o \
datastructures.o \
test_suite
TOPLEVEL := ../
@ -14,7 +17,7 @@ all: libhammer.a test_suite
test_suite: test_suite.o libhammer.a
$(call hush, "Linking $@") $(CC) -o $@ $^ $(LDFLAGS)
libhammer.a: bitreader.o hammer.o pprint.o allocator.o
libhammer.a: bitreader.o hammer.o pprint.o allocator.o datastructures.o
bitreader.o: test_suite.h
hammer.o: hammer.h