apps/: Replaced tab with space broke the clean/distclean targets

This commit is contained in:
Gregory Nutt 2015-06-03 16:23:29 -06:00
parent 980f5a3675
commit 3a83a3068f
2 changed files with 4 additions and 5 deletions

View File

@ -71,11 +71,10 @@ else
endif
CONTENT_MAKE = $(MAKE) -C content
ifeq ($(CONFIG_THTTPD_NXFLAT),y)
CONTENT_MAKE += -f Makefile.nxflat
endif
ifeq ($(CONFIG_THTTPD_BINFS),y)
CONTENT_MAKE += -f Makefile.binfs
else
CONTENT_MAKE += -f Makefile.nxflat
endif
CONFIG_XYZ_PROGNAME ?= thttpd$(EXEEXT)

View File

@ -46,13 +46,13 @@ SYMTAB = $(CONTENT_DIR)/symtab.h
define DIR_template
$(1)_$(2):
@$(MAKE) -C $(1) $(3) TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" CROSSDEV=$(CROSSDEV) CGI_DIR="$(ROMFSCGI_DIR)"
@$(MAKE) -C $(1) $(3) TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" CROSSDEV=$(CROSSDEV) CGI_DIR="$(ROMFSCGI_DIR)"
endef
all: $(ROMFS_HDR) $(SYMTAB)
.PHONY: all build clean install populate headers binaries context depend
$(foreach DIR, $(SUBDIRS), $(eval $(call DIR_template,$(DIR),build, all)))
$(foreach DIR, $(SUBDIRS), $(eval $(call DIR_template,$(DIR),build,all)))
$(foreach DIR, $(SUBDIRS), $(eval $(call DIR_template,$(DIR),clean,clean)))
$(foreach DIR, $(SUBDIRS), $(eval $(call DIR_template,$(DIR),install,install)))