From a8991f387d339a02cabe4be1d997078db0d49c95 Mon Sep 17 00:00:00 2001 From: Thomas Schmucker Date: Tue, 14 Jul 2026 23:04:41 +0200 Subject: keine Zwischendatei notwendig --- .gitignore | 6 +++--- makefile | 9 ++------- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index 4eca2bd..df19a51 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -*.o -*.a -bcrypt-test +bin/ +obj/ +libbcrypt/ user.db diff --git a/makefile b/makefile index ea514c2..d893a1d 100644 --- a/makefile +++ b/makefile @@ -6,8 +6,6 @@ BCRYPT_SRC_DIR=$(BCRYPT_DIR)/lua-bcrypt-$(BCRYPT_VERSION)/src BCRYPT_OBJ_DIR=$(BCRYPT_DIR)/obj BCRYPT_LIB_DIR=$(BCRYPT_DIR)/lib -BCRYPT_ARCHIVE=$(BCRYPT_DIR)/lua-bcrypt.tar.gz - BCRYPT_SOURCES= \ $(BCRYPT_SRC_DIR)/bcrypt.c \ $(BCRYPT_SRC_DIR)/blowfish.c \ @@ -37,11 +35,8 @@ obj bin: # === libbcrypt === -$(BCRYPT_ARCHIVE): | $(BCRYPT_DIR) - curl -f -L -o $@ https://github.com/mikejsavage/lua-bcrypt/archive/refs/tags/v$(BCRYPT_VERSION).tar.gz - -$(BCRYPT_UNPACKED): $(BCRYPT_ARCHIVE) - tar -xzf $< -C $(BCRYPT_DIR) +$(BCRYPT_UNPACKED): | $(BCRYPT_DIR) + curl -f -L -o - https://github.com/mikejsavage/lua-bcrypt/archive/refs/tags/v$(BCRYPT_VERSION).tar.gz | tar -xzf - -C $(BCRYPT_DIR) touch $@ download: $(BCRYPT_UNPACKED) -- cgit v1.3