diff options
Diffstat (limited to 'makefile')
| -rw-r--r-- | makefile | 8 |
1 files changed, 6 insertions, 2 deletions
| @@ -1,9 +1,13 @@ | |||
| 1 | all: bcrypt-test | 1 | all: bcrypt-test |
| 2 | 2 | ||
| 3 | CFLAGS =-Wall -Werror -std=c99 -pedantic -O2 | 3 | CFLAGS =-Wall -Werror -std=c99 -pedantic -g |
| 4 | 4 | ||
| 5 | bcrypt-test: bcrypt-test.o | 5 | bcrypt-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 | ||
| 8 | bcrypt-test.o: bcrypt-test.c | 8 | bcrypt-test.o: bcrypt-test.c |
| 9 | cc -o $@ -c $< | 9 | cc $(CFLAGS) -o $@ -c $< |
| 10 | |||
| 11 | .PHONY: clean | ||
| 12 | clean: | ||
| 13 | rm -f bcrypt-test bcrypt-test.o | ||
