That should fix the build on Ubuntu; also, it should add a clean target

This commit is contained in:
Dan Hirsch 2012-04-30 02:20:49 +01:00
parent faab7b7cf8
commit 6dd36f9acd
3 changed files with 12 additions and 2 deletions

View file

@ -1,9 +1,13 @@
-include ../common.mk
OUTPUTS := bitreader.o \
libhammer.a \
test_suite
all: libhammer.a test_suite
test_suite: test_suite.o libhammer.a
$(CC) $(LDFLAGS) -o $@ $^
$(CC) -o $@ $^ $(LDFLAGS)
libhammer.a: bitreader.o