summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/makefile b/makefile
index b598b34..f98f66c 100644
--- a/makefile
+++ b/makefile
@@ -1,9 +1,13 @@
1all: bcrypt-test 1all: bcrypt-test
2 2
3CFLAGS =-Wall -Werror -std=c99 -pedantic -O2 3CFLAGS =-Wall -Werror -std=c99 -pedantic -g
4 4
5bcrypt-test: bcrypt-test.o 5bcrypt-test: bcrypt-test.o
6 cc -o $@ bcrypt-test.o lua-bcrypt/bcrypt.a 6 cc -o $@ bcrypt-test.o lua-bcrypt/bcrypt.a
7 7
8bcrypt-test.o: bcrypt-test.c 8bcrypt-test.o: bcrypt-test.c
9 cc -o $@ -c $< 9 cc $(CFLAGS) -o $@ -c $<
10
11.PHONY: clean
12clean:
13 rm -f bcrypt-test bcrypt-test.o