Signed-off-by: leyyer <15135994+leyyer@user.noreply.gitee.com>
@ -6,11 +6,9 @@ LD := $(CROSS_COMPILE)gcc
CFLAGS += -D_GNU_SOURCE -std=gnu99 -Wall
CFLAGS += -Ilibev -DNDEBUG
LDFLAGS += -static -lutil -lm
LDFLAGS += -static -lutil -lm -Llibs -lev
OBJS := main.o dictionary.o iniparser.o
OBJS += libev/ev.o libev/ev_epoll.o libev/ev_poll.o \
libev/ev_port.o libev/ev_select.o libev/event.o
serialmux: $(OBJS)
$(LD) -o $@ $^ $(LDFLAGS)