Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -156,3 +156,6 @@ docs/docs/public/c-reference

# NPM
**/node_modules/**/*

# Clangd config
compile_flags.txt
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ ifeq ($(os),Darwin)
clang_tidy = $(llvm_path)/bin/clang-tidy
endif

all: templates prism $(exec) $(lib_name) $(static_lib_name) test wasm
all: templates prism $(exec) $(lib_name) $(static_lib_name) test wasm clangd_config

$(exec): $(objects)
$(cc) $(objects) $(flags) $(ldflags) $(prism_ldflags) -o $(exec)
Expand Down Expand Up @@ -122,5 +122,8 @@ lint:
tidy:
$(clang_tidy) $(project_files) -- $(flags)

clangd_config:
@echo "$(flags) $(test_cflags)" | tr ' ' '\n' | sort -u > compile_flags.txt

wasm:
cd wasm && make
Loading