From 165e06e7544cae2b2f0932f4c2dab26bf06a5326 Mon Sep 17 00:00:00 2001 From: Thomas Schmucker Date: Sun, 23 Aug 2020 09:56:54 +0200 Subject: erster Prototyp --- .gitignore | 4 ++++ bcrypt-test.c | 11 +++++++++++ makefile | 9 +++++++++ 3 files changed, 24 insertions(+) create mode 100644 .gitignore create mode 100644 bcrypt-test.c create mode 100644 makefile diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a3500e5 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +lua-bcrypt + +*.o +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 @@ +#include +#include + +#include "lua-bcrypt/compat/include/pwd.h" + +int +main(void) +{ + puts("Hallo Welt..."); + return EXIT_SUCCESS; +} diff --git a/makefile b/makefile new file mode 100644 index 0000000..b598b34 --- /dev/null +++ b/makefile @@ -0,0 +1,9 @@ +all: bcrypt-test + +CFLAGS =-Wall -Werror -std=c99 -pedantic -O2 + +bcrypt-test: bcrypt-test.o + cc -o $@ bcrypt-test.o lua-bcrypt/bcrypt.a + +bcrypt-test.o: bcrypt-test.c + cc -o $@ -c $< -- cgit v1.3