summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 4fc93e6..1b01e85 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,6 @@
-CFLAGS=`pkg-config --cflags libgit2`
-LDLIBS=`pkg-config --libs libgit2`
+CFLAGS?=-Wall -Wextra -Wpedantic -O3
+CFLAGS+=`pkg-config --cflags libgit2`
+LDLIBS+=`pkg-config --libs libgit2`
PREFIX?=/usr/local
BINDIR?=$(PREFIX)/bin