Remove seed on clean, extra optional removal on each build

This commit is contained in:
Imbus 2025-08-24 15:30:38 +02:00
parent 52aa85822b
commit c39a5f8169

View file

@ -9,6 +9,7 @@ SRC = main.c monocypher.c
$(TARGET): $(SRC) seed.h $(TARGET): $(SRC) seed.h
@echo CC $@ @echo CC $@
@$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) @$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
@#rm seed.h # Enable for extra security
seed.h: seed.h:
openssl rand 32 \ openssl rand 32 \
@ -21,3 +22,4 @@ seed.h:
clean: clean:
rm -f $(TARGET) rm -f $(TARGET)
rm -f seed.h