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)