summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2017-11-14 15:22:06 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2017-11-14 15:22:06 +0100
commitbd6bbe25c29f019b259b8e66ba72d8a913f41118 (patch)
treea5a08a572aece77975f4d26e94865b0156a28a4e /Makefile
downloadtorrenthash-bd6bbe25c29f019b259b8e66ba72d8a913f41118.tar
torrenthash-bd6bbe25c29f019b259b8e66ba72d8a913f41118.zip
Initial commit
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..76c2ef8
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,10 @@
+CRYPTO_CFLAGS := $(shell pkg-config --cflags libcrypto)
+CRYPTO_LDFLAGS := $(shell pkg-config --libs libcrypto)
+
+CFLAGS += -Wall -Wextra $(CRYPTO_CFLAGS)
+LDFLAGS += $(CRYPTO_LDFLAGS)
+
+all : torrenthash
+
+clean :
+ rm -f torrenthash