hammer/src/Makefile

27 lines
445 B
Makefile
Raw Normal View History

OUTPUTS := bitreader.o \
hammer.o \
libhammer.a \
pprint.o \
allocator.o \
datastructures.o \
test_suite
2012-04-30 23:35:11 +01:00
TOPLEVEL := ../
include ../common.mk
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 datastructures.o
bitreader.o: test_suite.h
2012-05-11 23:35:21 +01:00
hammer.o: hammer.h
test: test_suite
./test_suite -v