Wrote basic makefile, wrote tests, and then fixed them

This commit is contained in:
Dan Hirsch 2012-04-29 01:45:52 +01:00
parent 7adae0da7c
commit faab7b7cf8
11 changed files with 137 additions and 11 deletions

10
src/Makefile Normal file
View file

@ -0,0 +1,10 @@
-include ../common.mk
all: libhammer.a test_suite
test_suite: test_suite.o libhammer.a
$(CC) $(LDFLAGS) -o $@ $^
libhammer.a: bitreader.o
bitreader.o: test_suite.h