diff options
| -rw-r--r-- | .gitignore | 4 | ||||
| -rw-r--r-- | bcrypt-test.c | 11 | ||||
| -rw-r--r-- | makefile | 9 |
3 files changed, 24 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a3500e5 --- /dev/null +++ b/.gitignore | |||
| @@ -0,0 +1,4 @@ | |||
| 1 | lua-bcrypt | ||
| 2 | |||
| 3 | *.o | ||
| 4 | bcrypt-test | ||
diff --git a/bcrypt-test.c b/bcrypt-test.c new file mode 100644 index 0000000..b09dee6 --- /dev/null +++ b/bcrypt-test.c | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | #include <stdio.h> | ||
| 2 | #include <stdlib.h> | ||
| 3 | |||
| 4 | #include "lua-bcrypt/compat/include/pwd.h" | ||
| 5 | |||
| 6 | int | ||
| 7 | main(void) | ||
| 8 | { | ||
| 9 | puts("Hallo Welt..."); | ||
| 10 | return EXIT_SUCCESS; | ||
| 11 | } | ||
diff --git a/makefile b/makefile new file mode 100644 index 0000000..b598b34 --- /dev/null +++ b/makefile | |||
| @@ -0,0 +1,9 @@ | |||
| 1 | all: bcrypt-test | ||
| 2 | |||
| 3 | CFLAGS =-Wall -Werror -std=c99 -pedantic -O2 | ||
| 4 | |||
| 5 | bcrypt-test: bcrypt-test.o | ||
| 6 | cc -o $@ bcrypt-test.o lua-bcrypt/bcrypt.a | ||
| 7 | |||
| 8 | bcrypt-test.o: bcrypt-test.c | ||
| 9 | cc -o $@ -c $< | ||
