From 4a339ef36d3c84ff90ecf1f314930820f9d3f498 Mon Sep 17 00:00:00 2001 From: 98Arvin Date: Mon, 1 Jul 2024 15:11:42 +0200 Subject: [PATCH] updated Makefile after v3 client removal --- .gitignore | 2 ++ Makefile | 24 ++++++++++++++++++++++-- 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 4cc5881..e679263 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,6 @@ *~ ssllabs-scan ssllabs-scan-v3 +ssllabs-scan-v4 +ssllabs-scan-v4-register local-test-*.txt diff --git a/Makefile b/Makefile index 373339f..39d32d4 100644 --- a/Makefile +++ b/Makefile @@ -1,2 +1,22 @@ -build: - go build ssllabs-scan-v3.go +# Go source files +SRC1 = ssllabs-scan-v4.go +SRC2 = ssllabs-scan-v4-register.go + +# Output binaries +BIN1 = ssllabs-scan-v4 +BIN2 = ssllabs-scan-v4-register + +# Phony targets +.PHONY: all build clean + +# Default target +all: build + +# Build target +build: $(SRC1) $(SRC2) + go build -o $(BIN1) $(SRC1) + go build -o $(BIN2) $(SRC2) + +# Clean target +clean: + rm -f $(BIN1) $(BIN2)