diff options
Diffstat (limited to 'nuttx/examples/thttpd/Makefile')
-rw-r--r-- | nuttx/examples/thttpd/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/nuttx/examples/thttpd/Makefile b/nuttx/examples/thttpd/Makefile index 321cccde5..2d9b271a0 100644 --- a/nuttx/examples/thttpd/Makefile +++ b/nuttx/examples/thttpd/Makefile @@ -47,6 +47,7 @@ OBJS = $(AOBJS) $(COBJS) BIN = lib$(CONFIG_EXAMPLE)$(LIBEXT) all: $(BIN) +.PHONY: clean headers $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) @@ -54,7 +55,10 @@ $(AOBJS): %$(OBJEXT): %.S $(COBJS): %$(OBJEXT): %.c $(call COMPILE, $<, $@) -$(BIN): $(OBJS) +headers: + @$(MAKE) -C content TOPDIR=$(TOPDIR) CROSSDEV=$(CROSSDEV) + +$(BIN): headers $(OBJS) @( for obj in $(OBJS) ; do \ $(call ARCHIVE, $@, $${obj}); \ done ; ) @@ -67,6 +71,7 @@ depend: .depend clean: @rm -f $(BIN) *~ .*.swp + @make -C content clean TOPDIR=$(TOPDIR) CROSSDEV=$(CROSSDEV) $(call CLEAN) distclean: clean |