uIP1.0完整源代码

源代码在线查看: makefile.include

软件大小: 1592 K
上传用户: shanon
关键词: uIP 1.0 源代码
下载地址: 免注册下载 普通下载 VIP

相关代码

												ifdef APPS				  APPDIRS = $(foreach APP, $(APPS), ../apps/$(APP))				  -include $(foreach APP, $(APPS), ../apps/$(APP)/Makefile.$(APP))				  CFLAGS += $(addprefix -I../apps/,$(APPS))				endif								ifndef CCDEP				  CCDEP = $(CC)				endif				ifndef CCDEPCFLAGS				  CCDEPCFLAGS = $(CFLAGS)				endif				ifndef OBJECTDIR				  OBJECTDIR = obj				endif								ifeq (${wildcard $(OBJECTDIR)},)				  DUMMY := ${shell mkdir $(OBJECTDIR)}				endif												vpath %.c . ../uip ../lib $(APPDIRS)								$(OBJECTDIR)/%.o: %.c					$(CC) $(CFLAGS) -c $< -o $@								$(OBJECTDIR)/%.d: %.c					@set -e; rm -f $@; \					$(CCDEP) -MM $(CCDEPCFLAGS) $< > $@.$$$$; \					sed 's,\($*\)\.o[ :]*,$(OBJECTDIR)/\1.o $@ : ,g' < $@.$$$$ > $@; \					rm -f $@.$$$$								UIP_SOURCES=uip.c uip_arp.c uiplib.c psock.c timer.c uip-neighbor.c												ifneq ($(MAKECMDGOALS),clean)				-include $(addprefix $(OBJECTDIR)/,$(UIP_SOURCES:.c=.d) \				                                   $(APP_SOURCES:.c=.d))				endif								uip.a: ${addprefix $(OBJECTDIR)/, $(UIP_SOURCES:.c=.o)}					$(AR) rcf $@ $^								apps.a: ${addprefix $(OBJECTDIR)/, $(APP_SOURCES:.c=.o)}					$(AR) rcf $@ $^							

相关资源