Fix it so usage is _always_ in sync with applets.c. Previously,

broken depends allowed these to get out of sync.
This commit is contained in:
Eric Andersen
2004-04-06 14:28:35 +00:00
parent 7e496a71cf
commit 674b08a6b8
5 changed files with 12 additions and 23 deletions

View File

@@ -192,17 +192,6 @@ CFLAGS += $(CFLAGS_EXTRA)
%.o: %.c
$(CC) $(CFLAGS) $(EXTRA_CFLAGS) -c -o $@ $<
ifdef _FASTDEP_ALL_SUB_DIRS
fastdep: dummy
$(TOPDIR)scripts/mkdep $(CFLAGS) $(EXTRA_CFLAGS_nostdinc) -- $(wildcard *.[chS]) > .depend
ifdef ALL_SUB_DIRS
$(MAKE) $(patsubst %,_sfdep_%,$(ALL_SUB_DIRS)) _FASTDEP_ALL_SUB_DIRS="$(ALL_SUB_DIRS)"
endif
$(patsubst %,_sfdep_%,$(_FASTDEP_ALL_SUB_DIRS)):
$(MAKE) -C $(patsubst _sfdep_%,%,$@) fastdep
endif
.PHONY: dummy