-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathelibs.mk
41 lines (34 loc) · 881 Bytes
/
elibs.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
ifeq ($(LIB_UIP), yes)
export LIBS += -luip
export INCS += -I$(ROOT)/library/uIP/uip
export INCS += -I$(ROOT)/library/uIP/uip-funs
endif
ifeq ($(LIB_FATFS), yes)
export LIBS += -lfatfs
export INCS += -I$(ROOT)/library/FatFs
endif
ifeq ($(LIB_CJSON), yes)
export LIBS += -lcjson
export INCS += -I$(ROOT)/library/cJSON
endif
ifeq ($(LIB_LUA), yes)
export LIBS += -llua
export INCS += -I$(ROOT)/library/Lua
endif
ifeq ($(LIB_MODBUS), yes)
export LIBS += -lmodbus
export INCS += -I$(ROOT)/library/modbus
endif
ifeq ($(LIB_LWIP), yes)
export LIBS += -llwip
export INCS += -I$(ROOT)/library/LwIP/include
export INCS += -I$(ROOT)/library/LwIP/include/compat/posix
endif
ifeq ($(LIB_ENET), yes)
export LIBS += -lenet
export INCS += -I$(ROOT)/library/ENet/include
endif
ifeq ($(LIB_OPEN62541), yes)
export LIBS += -lopen62541
export INCS += -I$(ROOT)/library/open62541/include
endif