Cleaned up makefiles a bit, fixed all the warnings in hammer.c

This commit is contained in:
Dan Hirsch 2012-05-01 02:05:58 +01:00
commit 5f26455924
4 changed files with 232 additions and 29 deletions

View file

@ -1,5 +1,6 @@
OUTPUTS := bitreader.o \
hammer.o \
libhammer.a \
test_suite
@ -11,7 +12,7 @@ include ../common.mk
all: libhammer.a test_suite
test_suite: test_suite.o libhammer.a
$(CC) -o $@ $^ $(LDFLAGS)
$(call hush, "Linking $@") $(CC) -o $@ $^ $(LDFLAGS)
libhammer.a: bitreader.o hammer.o