summaryrefslogtreecommitdiff
path: root/themes/compile_commands.sh
diff options
context:
space:
mode:
Diffstat (limited to 'themes/compile_commands.sh')
-rwxr-xr-xthemes/compile_commands.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/compile_commands.sh b/themes/compile_commands.sh
index 2cb3fed..06ebba0 100755
--- a/themes/compile_commands.sh
+++ b/themes/compile_commands.sh
@@ -1,5 +1,5 @@
make --always-make --dry-run \
- | grep -wE 'gcc|g\+\+|c\+\+' \
+ | grep -wE 'emcc|gcc|g\+\+|c\+\+' \
| grep -w '\-c' \
| jq -nR '[inputs|{directory:".", command:., file: match(" [^ ]+$").string[1:]}]' \
> compile_commands.json