aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.include
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile.include')
-rw-r--r--src/Makefile.include12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/Makefile.include b/src/Makefile.include
index 05ce291..749d9ae 100644
--- a/src/Makefile.include
+++ b/src/Makefile.include
@@ -26,20 +26,8 @@ vpath %.c . ../uip/uip ../uip/lib $(APPDIRS)
$(OBJECTDIR)/%.o: %.c
$(CC) $(CFLAGS) -o $@ -c $<
-$(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) a $@ $^