From 47d9d90d462d3dcc87c6768869470b77206dbbcd Mon Sep 17 00:00:00 2001 From: tracer-ysyx Date: Mon, 1 Jan 2024 14:20:04 +0800 Subject: [PATCH] =?UTF-8?q?>=20sim=20RTL=20ysyx=5F22040000=20=E6=9D=8E?= =?UTF-8?q?=E5=BF=83=E6=9D=A8=20Linux=20calcite=206.1.69=20#1-NixOS=20SMP?= =?UTF-8?q?=20PREEMPT=5FDYNAMIC=20Wed=20Dec=2020=2016:00:29=20UTC=202023?= =?UTF-8?q?=20x86=5F64=20GNU/Linux=20=2014:20:04=20=20up=20=2022:59,=20=20?= =?UTF-8?q?2=20users,=20=20load=20average:=201.07,=200.89,=200.82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- npc/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/npc/Makefile b/npc/Makefile index 704e29b..c2d1da4 100644 --- a/npc/Makefile +++ b/npc/Makefile @@ -35,7 +35,7 @@ endif git_trace: $(call git_commit, "sim RTL") -.PHONY: clean nvboard +.PHONY: clean nvboard compile_commands.json SRC_AUTO_BIND := $(abspath $(PREFIX)/auto_bind.cpp) NXDC_FILES := $(abspath constr/top.nxdc) @@ -51,5 +51,9 @@ nvboard: CXXFLAGS += -I$(NVBOARD_HOME)/include $(shell sdl2-config --cflags) -g nvboard: $(VSRC) $(CPPSRCS) $(SUBMAKE) $(SRC_AUTO_BIND) $(OBJDIR)/Vexample @NVBOARD_HOME=$(NVBOARD_HOME) $(OBJDIR)/Vexample +compile_commands.json: + bear -- $(MAKE) --dryall + bear -- $() + clean: $(RM) -r $(PREFIX)