diff options
Diffstat (limited to 'nuttx/netutils/Makefile')
-rw-r--r-- | nuttx/netutils/Makefile | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/nuttx/netutils/Makefile b/nuttx/netutils/Makefile index 15344a454..a7a9ec2ac 100644 --- a/nuttx/netutils/Makefile +++ b/nuttx/netutils/Makefile @@ -72,7 +72,7 @@ BIN = libnetutils$(LIBEXT) VPATH = uiplib:dhcpc:dhcpd:resolv:smtp:telnetd:webclient:webserver:tftpc -all: $(BIN) +all: $(BIN) libthttpd$(LIBEXT) $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) @@ -85,6 +85,12 @@ $(BIN): $(OBJS) $(call ARCHIVE, $@, $${obj}); \ done ; ) +thttpd/libthttpd$(LIBEXT): + @$(MAKE) -C thttpd libthttpd$(LIBEXT) TOPDIR="$(TOPDIR)" + +libthttpd$(LIBEXT): thttpd/libthttpd$(LIBEXT) + @cp -a thttpd/libthttpd$(LIBEXT) . + .depend: Makefile $(SRCS) ifeq ($(CONFIG_NET),y) @$(MKDEP) --dep-path . --dep-path uiplib --dep-path dhcpc --dep-path dhcpd \ @@ -95,15 +101,19 @@ endif @touch $@ depend: .depend + @$(MAKE) -C thttpd depend TOPDIR="$(TOPDIR)" clean: - @rm -f $(BIN) *~ .*.swp + @rm -f $(BIN) libthttpd$(LIBEXT) *~ .*.swp $(call CLEAN) @( for dir in $(SUBDIRS); do \ rm -f $${dir}/*~ $${dir}/.*.swp; \ done ; ) + @$(MAKE) -C thttpd clean TOPDIR="$(TOPDIR)" distclean: clean @rm -f Make.dep .depend + @$(MAKE) -C thttpd distclean TOPDIR="$(TOPDIR)" -include Make.dep + |