Version v0.2.101 - Update entropy addition

This commit is contained in:
2025-08-29 08:45:08 -04:00
parent 09ea57f146
commit 6c796df30a
5 changed files with 888 additions and 280 deletions

View File

@@ -1,18 +1,19 @@
CC = gcc
CFLAGS = -Wall -Wextra -std=c99
LIBS =
LIBS_STATIC = -static
LIBS = -lm
LIBS_STATIC = -static -lm
TARGET = otp
SOURCE = otp.c
CHACHA20_SOURCE = nostr_chacha20.c
VERSION_SOURCE = src/version.c
# Default build target
$(TARGET): $(SOURCE)
$(CC) $(CFLAGS) -o $(TARGET) $(SOURCE) $(VERSION_SOURCE) $(LIBS)
$(CC) $(CFLAGS) -o $(TARGET) $(SOURCE) $(CHACHA20_SOURCE) $(VERSION_SOURCE) $(LIBS)
# Static linking target
static: $(SOURCE)
$(CC) $(CFLAGS) -o $(TARGET) $(SOURCE) $(VERSION_SOURCE) $(LIBS_STATIC)
$(CC) $(CFLAGS) -o $(TARGET) $(SOURCE) $(CHACHA20_SOURCE) $(VERSION_SOURCE) $(LIBS_STATIC)
clean:
rm -f $(TARGET) *.pad *.state