Add Windows support

This commit is contained in:
2025-12-01 14:36:12 +01:00
parent 4ba01976eb
commit 8141b16051
3 changed files with 93 additions and 9 deletions
+7 -1
View File
@@ -1,2 +1,8 @@
ifeq ($(shell uname -a),Linux)
LFLAGS = -lcrypto
else
LFLAGS = -lbcrypt
endif
all:
cc s3.c test.c -o test -Wall -Wextra -lcrypto -ggdb
cc s3.c test.c -o test -Wall -Wextra $(LFLAGS) -ggdb