summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index c32deef..16ec9e3 100644
--- a/Makefile
+++ b/Makefile
@@ -1,13 +1,13 @@
.PHONY: all queries tsbuild valgrind tests format clean
TARGET = crep
-SOURCES = $(wildcard *.c *.h)
+SOURCES = $(wildcard *.c *.h queries/*.h)
TS_ALIBS = $(shell find vendor -name "*.a" -print)
VENDOR_DIRS = $(wildcard vendor/*)
CFLAGS = $(EXTRA_FLAGS) -Wall -Wextra -std=gnu99 -pedantic -O3
LIBS = -I./vendor/tree-sitter/lib/include -lpthread
-LANGS = c cpp python php go rust javascript lua zig
+LANGS = c cpp python php go rust javascript lua zig kotlin
QUERY_HEADERS = $(patsubst %, queries/%.h, $(LANGS))
TS_SUBDIRS = tree-sitter $(patsubst %, tree-sitter-%, $(LANGS))