diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2026-01-22 12:07:15 +0100 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2026-01-22 12:07:15 +0100 |
| commit | 8375f459638f942d51948d466d9365eaa0c2a500 (patch) | |
| tree | 0bf55baf94554d0e9a79c6342844696faf55342e /Makefile | |
| parent | a4b604c0f7ea0927d40274e6ae15fa710b68aa3e (diff) | |
| download | crep-8375f459638f942d51948d466d9365eaa0c2a500.tar.gz | |
Add Kotlin grammar
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,13 +1,13 @@ | |||
| 1 | .PHONY: all queries tsbuild valgrind tests format clean | 1 | .PHONY: all queries tsbuild valgrind tests format clean |
| 2 | 2 | ||
| 3 | TARGET = crep | 3 | TARGET = crep |
| 4 | SOURCES = $(wildcard *.c *.h) | 4 | SOURCES = $(wildcard *.c *.h queries/*.h) |
| 5 | TS_ALIBS = $(shell find vendor -name "*.a" -print) | 5 | TS_ALIBS = $(shell find vendor -name "*.a" -print) |
| 6 | VENDOR_DIRS = $(wildcard vendor/*) | 6 | VENDOR_DIRS = $(wildcard vendor/*) |
| 7 | CFLAGS = $(EXTRA_FLAGS) -Wall -Wextra -std=gnu99 -pedantic -O3 | 7 | CFLAGS = $(EXTRA_FLAGS) -Wall -Wextra -std=gnu99 -pedantic -O3 |
| 8 | LIBS = -I./vendor/tree-sitter/lib/include -lpthread | 8 | LIBS = -I./vendor/tree-sitter/lib/include -lpthread |
| 9 | 9 | ||
| 10 | LANGS = c cpp python php go rust javascript lua zig | 10 | LANGS = c cpp python php go rust javascript lua zig kotlin |
| 11 | QUERY_HEADERS = $(patsubst %, queries/%.h, $(LANGS)) | 11 | QUERY_HEADERS = $(patsubst %, queries/%.h, $(LANGS)) |
| 12 | TS_SUBDIRS = tree-sitter $(patsubst %, tree-sitter-%, $(LANGS)) | 12 | TS_SUBDIRS = tree-sitter $(patsubst %, tree-sitter-%, $(LANGS)) |
| 13 | 13 | ||
