compile_commands.json added

This commit is contained in:
2025-11-11 16:53:32 +08:00
parent 35ccba1942
commit 1587394505
3 changed files with 21 additions and 1 deletions

1
.gitignore vendored
View File

@ -3,3 +3,4 @@ openbox_1/
include.tgz
lib.tgz
case.tgz
.cache/

View File

@ -2,7 +2,7 @@ CC = arm-linux-gnueabihf-gcc
CFLAGS += -I./include -L./lib
LDLIBS = -lofp -lrule -lua -lreg -lpcap -lnet -lpthread
LDLIBS = -lofp -lrule -lua -lreg -lpcap -lnet -lpthread
user_openflow:main_user_openflow.c
$(CC) $(CFLAGS) -o user_openflow main_user_openflow.c $(LDLIBS)

View File

@ -0,0 +1,19 @@
[
{
"arguments": [
"/usr/bin/arm-linux-gnueabihf-gcc",
"-c",
"-I./include",
"-I",
"/usr/share/verilator/include",
"-I",
"/usr/share/verilator/include",
"-o",
"user_openflow",
"main_user_openflow.c"
],
"directory": "/home/gh0s7/project/NE_YuR/openflow",
"file": "/home/gh0s7/project/NE_YuR/openflow/main_user_openflow.c",
"output": "/home/gh0s7/project/NE_YuR/openflow/user_openflow"
}
]