CC=g++
CFLAGS=-Werror -Wall -Wextra -Ofast -pedantic
all: build
build:
$(CC) main.cpp -o httpsbench -lssl -lcrypto -lcurl -pthread $(CFLAGS)
run: build
@echo "Usage: ./httpsbench -c <ThreadCount> -n <RequestCount> <URL>"
@echo "Example: ./httpsbench -c 10 -n 1000 http://example.com"
./httpsbench $(ARGS)
.PHONY: all build run