Commit 1d8617b2 authored by Jakub Kicinski's avatar Jakub Kicinski Committed by David S. Miller

tools: ynl: add distclean to .PHONY in all makefiles

Donald points out most YNL makefiles are missing distclean
in .PHONY, even tho generated/Makefile does list it.
Suggested-by: default avatarDonald Hunter <donald.hunter@gmail.com>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
Reviewed-by: default avatarDonald Hunter <donald.hunter@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4e887471
...@@ -18,4 +18,4 @@ clean distclean: ...@@ -18,4 +18,4 @@ clean distclean:
fi \ fi \
done done
.PHONY: clean all $(SUBDIRS) .PHONY: all clean distclean $(SUBDIRS)
...@@ -24,5 +24,5 @@ distclean: clean ...@@ -24,5 +24,5 @@ distclean: clean
%.o: %.c %.o: %.c
$(COMPILE.c) -MMD -c -o $@ $< $(COMPILE.c) -MMD -c -o $@ $<
.PHONY: all clean .PHONY: all clean distclean
.DEFAULT_GOAL=all .DEFAULT_GOAL=all
...@@ -31,5 +31,5 @@ clean: ...@@ -31,5 +31,5 @@ clean:
distclean: clean distclean: clean
rm -f $(BINS) rm -f $(BINS)
.PHONY: all clean .PHONY: all clean distclean
.DEFAULT_GOAL=all .DEFAULT_GOAL=all
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment