modify makefile
This commit is contained in:
@@ -1,14 +1,16 @@
|
||||
include $(KERNEL_ROOT)/services/net/net_server/lwip.mk
|
||||
|
||||
net_server: lwip_server.o
|
||||
@echo "generate $^"
|
||||
|
||||
%.o: %.c
|
||||
@echo "cc $^"
|
||||
@${cc} ${cflags} ${c_useropts} ${INC_DIR} -o $@ -c $^
|
||||
|
||||
|
||||
|
||||
SRC_DIR += api
|
||||
SRC_DIR += arch
|
||||
SRC_DIR += core
|
||||
SRC_DIR += netif
|
||||
SRC_DIR += apps
|
||||
|
||||
LWIP_DIR += api
|
||||
LWIP_DIR += arch
|
||||
LWIP_DIR += core
|
||||
LWIP_DIR += netif
|
||||
LWIP_DIR += apps
|
||||
|
||||
SRC_FILES += lwip_server.c
|
||||
include $(KERNEL_ROOT)/compiler.mk
|
||||
|
||||
Reference in New Issue
Block a user