1 2 3 4 5 6 7 8 9 10
CRYPTO_CFLAGS := $(shell pkg-config --cflags libcrypto) CRYPTO_LDLIBS := $(shell pkg-config --libs libcrypto) CFLAGS += -std=gnu99 -Wall -Wextra $(CRYPTO_CFLAGS) LDLIBS += $(CRYPTO_LDLIBS) all : torrenthash clean : rm -f torrenthash