all: bcrypt-test

CFLAGS =-Wall -Werror -std=c99 -pedantic -g

bcrypt-test: bcrypt-test.o
	cc -o $@ bcrypt-test.o lua-bcrypt/bcrypt.a

bcrypt-test.o: bcrypt-test.c
	cc $(CFLAGS) -o $@ -c $<

.PHONY: clean
clean:
	rm -f bcrypt-test bcrypt-test.o
