diff --git a/.gitignore b/.gitignore index aeca25c..8ca3fd2 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ openbox_1/ include.tgz lib.tgz case.tgz +.cache/ diff --git a/openflow/Makefile b/openflow/Makefile index ada5719..2d29a70 100644 --- a/openflow/Makefile +++ b/openflow/Makefile @@ -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) diff --git a/openflow/compile_commands.json b/openflow/compile_commands.json new file mode 100644 index 0000000..d3656aa --- /dev/null +++ b/openflow/compile_commands.json @@ -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" + } +]