diff --git a/.gitignore b/.gitignore index 8b1ddfe..140465c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ .have_docker tags +.cache # Ignore list for: c *.d diff --git a/Makefile b/Makefile index 637db04..ed11c0d 100644 --- a/Makefile +++ b/Makefile @@ -15,6 +15,7 @@ OPENOCD_DIR ?= $(dir $(shell command -v openocd))/.. all: .have_docker ${DOCKER_CMD} ${DOCKER_IMAGE} make lall + sed -i -e "s%"'"'"/project/%"'"'"$$(readlink -f .)/%" ${MESON_DIR}/compile_commands.json wipe: clean all lall: ${MESON_DIR} diff --git a/compile_commands.json b/compile_commands.json new file mode 120000 index 0000000..9a39b94 --- /dev/null +++ b/compile_commands.json @@ -0,0 +1 @@ +mbuild/compile_commands.json \ No newline at end of file