modify makefile

This commit is contained in:
lr
2024-05-16 11:19:34 +08:00
parent 7aa0cde8f2
commit bbfc42fbab
64 changed files with 161 additions and 26948 deletions
@@ -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