openflow build environment setup
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user