summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 6fe9144594e19129496572fed9a8f07ed8c355b4 (plain)
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