.PHONY: all check clean

all: siphash.o
check: test

clean:
	rm -f siphash.o
	rm -f test
	rm -f test.o

test: test.o siphash.o
	$(CC) $(CFLAGS) $(LDFLAGS) -o test test.o siphash.o

check: test test.out
	./test | diff -u test.out -
