summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--makefile8
2 files changed, 8 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index a3500e5..cf17be8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,5 @@ lua-bcrypt
2 2
3*.o 3*.o
4bcrypt-test 4bcrypt-test
5tags
6user.db
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