From 9948f994b967bfef75897874673ade17c02c9f4a Mon Sep 17 00:00:00 2001 From: Lee Duncan Date: Mon, 9 May 2022 12:34:54 -0700 Subject: Add a 'distclean' Makefile top-level target This cleans up a little more than "make clean", in particular removing files generated from templates, and automake-generated files in iscsiuio. Also, a ".PHONY:" target was added where needed so that each Makefile has a complete list of phony targets. --- usr/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'usr') diff --git a/usr/Makefile b/usr/Makefile index 3fc2248..c5571b6 100644 --- a/usr/Makefile +++ b/usr/Makefile @@ -120,6 +120,10 @@ clean: $(PROGRAMS) .depend $(MAKE) $(MFLAGS) -C $(FW_BOOT_DIR) clean +distclean: ; + +.PHONY: all install clean distclean depend + depend: $(CC) $(CFLAGS) -M `ls *.c` > .depend $(MAKE) $(MFLAGS) -C $(FW_BOOT_DIR) depend -- cgit v1.2.1