aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2020-12-09 20:15:32 +0100
committerMateja <mail@matejamaric.com>2020-12-09 20:15:32 +0100
commit9ffc6e0c8745a2dffb1fb98188c346e4f124f3a1 (patch)
treea9feaa2ed69f7b00561471ffba864ce84d256269 /Makefile
parentf5644c06b741ee51089a10286fd89a739d3d572f (diff)
downloadmterm-9ffc6e0c8745a2dffb1fb98188c346e4f124f3a1.tar.gz
mterm-9ffc6e0c8745a2dffb1fb98188c346e4f124f3a1.zip
Add compile_commands.json for clangd.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 25fff3d..58b44f6 100644
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,11 @@
-CC := gcc
-CFLAGS := -O2 -Wall $(shell pkg-config --cflags vte-2.91)
-LIBS := $(shell pkg-config --libs vte-2.91)
+CC := gcc
+CFLAGS := -O2 -Wall $(shell pkg-config --cflags vte-2.91)
+LIBS := $(shell pkg-config --libs vte-2.91)
-PREFIX ?= /usr/local
-BINDIR ?= ${PREFIX}/bin
+PREFIX ?= /usr/local
+BINDIR ?= ${PREFIX}/bin
DATADIR ?= ${PREFIX}/share
-MANDIR ?= ${DATADIR}/man
+MANDIR ?= ${DATADIR}/man
mterm: main.c config.h; $(CC) $(CFLAGS) $? $(LIBS) -o $@