diff options
author | Mateja <mail@matejamaric.com> | 2020-12-09 20:15:32 +0100 |
---|---|---|
committer | Mateja <mail@matejamaric.com> | 2020-12-09 20:15:32 +0100 |
commit | 9ffc6e0c8745a2dffb1fb98188c346e4f124f3a1 (patch) | |
tree | a9feaa2ed69f7b00561471ffba864ce84d256269 /Makefile | |
parent | f5644c06b741ee51089a10286fd89a739d3d572f (diff) | |
download | mterm-9ffc6e0c8745a2dffb1fb98188c346e4f124f3a1.tar.gz mterm-9ffc6e0c8745a2dffb1fb98188c346e4f124f3a1.zip |
Add compile_commands.json for clangd.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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 $@ |