summaryrefslogtreecommitdiff
path: root/utils/sysdeps/Makefile
diff options
context:
space:
mode:
authorLee Duncan <lduncan@suse.com>2022-05-09 12:34:54 -0700
committerLee Duncan <lduncan@suse.com>2022-05-09 12:34:54 -0700
commit9948f994b967bfef75897874673ade17c02c9f4a (patch)
tree23a305f8e58fea73e62b2445c47cef3000a583aa /utils/sysdeps/Makefile
parent8c43a977dc2aed34b7c6e7ab8d4bc31f4e2ac0b5 (diff)
downloadopen-iscsi-9948f994b967bfef75897874673ade17c02c9f4a.tar.gz
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.
Diffstat (limited to 'utils/sysdeps/Makefile')
-rw-r--r--utils/sysdeps/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/sysdeps/Makefile b/utils/sysdeps/Makefile
index 3387b57..d419dba 100644
--- a/utils/sysdeps/Makefile
+++ b/utils/sysdeps/Makefile
@@ -10,6 +10,10 @@ all: $(SYSDEPS_OBJS)
clean:
$(RM) *.o .depend
+distclean: ;
+
+.PHONY: all clean distclean depend
+
depend:
$(CC) $(CFLAGS) -M `ls *.c` > .depend