2012-04-29 01:45:52 +01:00
|
|
|
|
2012-04-30 02:20:49 +01:00
|
|
|
OUTPUTS := bitreader.o \
|
2012-05-01 00:33:47 +01:00
|
|
|
hammer.o \
|
2012-04-30 02:20:49 +01:00
|
|
|
libhammer.a \
|
2012-05-17 15:51:19 +02:00
|
|
|
pprint.o \
|
|
|
|
|
allocator.o \
|
|
|
|
|
datastructures.o \
|
2012-04-30 02:20:49 +01:00
|
|
|
test_suite
|
|
|
|
|
|
2012-04-30 23:35:11 +01:00
|
|
|
TOPLEVEL := ../
|
|
|
|
|
|
|
|
|
|
include ../common.mk
|
|
|
|
|
|
|
|
|
|
|
2012-04-29 01:45:52 +01:00
|
|
|
all: libhammer.a test_suite
|
|
|
|
|
|
|
|
|
|
test_suite: test_suite.o libhammer.a
|
2012-05-01 02:05:58 +01:00
|
|
|
$(call hush, "Linking $@") $(CC) -o $@ $^ $(LDFLAGS)
|
2012-04-29 01:45:52 +01:00
|
|
|
|
2012-05-17 15:51:19 +02:00
|
|
|
libhammer.a: bitreader.o hammer.o pprint.o allocator.o datastructures.o
|
2012-04-29 01:45:52 +01:00
|
|
|
|
|
|
|
|
bitreader.o: test_suite.h
|
2012-05-11 23:35:21 +01:00
|
|
|
hammer.o: hammer.h
|
2012-05-12 00:40:54 +01:00
|
|
|
|
|
|
|
|
test: test_suite
|
|
|
|
|
./test_suite -v
|