Just call the C lib 'the library' everywhere, don't call it a 'runtime'
This commit is contained in:
parent
38417fc8a1
commit
0f2347b318
25 changed files with 57 additions and 95 deletions
|
|
@ -1,21 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# If `CC` isn't set, pick a default compiler
|
||||
if hash clang 2>/dev/null; then
|
||||
: ${CC:=clang}
|
||||
else
|
||||
: ${CC:=gcc}
|
||||
fi
|
||||
|
||||
${CC} \
|
||||
-c \
|
||||
-O3 \
|
||||
-std=c99 \
|
||||
-I lib/src \
|
||||
-I lib/include \
|
||||
-I lib/utf8proc \
|
||||
lib/src/runtime.c \
|
||||
-o tree-sitter.o
|
||||
|
||||
ar rcs libtree-sitter.a tree-sitter.o
|
||||
rm tree-sitter.o
|
||||
Loading…
Add table
Add a link
Reference in a new issue