openflow build environment setup

This commit is contained in:
2025-11-11 16:45:43 +08:00
parent be0a7ad9b3
commit 50ecb9a23f
2767 changed files with 62766 additions and 649828 deletions

View File

@ -1,8 +1,11 @@
CC=gcc
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) -o user_openflow main_user_openflow.c $(LDLIBS)
$(CC) $(CFLAGS) -o user_openflow main_user_openflow.c $(LDLIBS)
clean:
rm -rf user_openflow *.o