diff options
-rw-r--r-- | Makeconf | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -176,11 +176,11 @@ endif # TAGS files ifneq ($(dir),.) -TAGS: $(SRCS) $(LCLHDRS) $(OTHERTAGS) - etags -o $@ $(SRCS) $(LCLHDRS) $(OTHERTAGS) +DEP_SRCS=sed -e 's/^.*://' -e 's/ \\$$//' | tr ' ' '\012'| sed -n -e 's@^$(srcdir)@&@p' -e 's@^[^/]@&@p' | sort -u +TAGS: $(OBJS:.o=.d) $(OTHERTAGS) + cat $(OBJS:.o=.d) | $(DEP_SRCS) | etags -o $@ - $(OTHERTAGS) endif - # Cleaning ifeq ($(clean),yes) clean: |