diff options
| author | Adam Ierymenko <[email protected]> | 2022-04-14 12:00:36 -0400 |
|---|---|---|
| committer | Adam Ierymenko <[email protected]> | 2022-04-14 12:00:36 -0400 |
| commit | cf03996bf261c6a3985c1e127b1ed186f6dea9a1 (patch) | |
| tree | c97286bf2e459cc97a94b9e81f00eab8bee5801d /make-mac.mk | |
| parent | e1a3bd3a921cd7124004dfbe5fb039cb3aa09f4f (diff) | |
clangd stuff
Diffstat (limited to 'make-mac.mk')
| -rw-r--r-- | make-mac.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/make-mac.mk b/make-mac.mk index 7c14fa67..1fd4f6fc 100644 --- a/make-mac.mk +++ b/make-mac.mk @@ -154,6 +154,10 @@ selftest: $(CORE_OBJS) $(ONE_OBJS) selftest.o zerotier-selftest: selftest +# Make compile_commands.json for clangd editor extensions. Probably works on Linux too. +compile_commands: FORCE + compiledb make ZT_DEBUG=1 + # Requires Packages: http://s.sudre.free.fr/Software/Packages/about.html mac-dist-pkg: FORCE packagesbuild "ext/installfiles/mac/ZeroTier One.pkgproj" |
