make: Add multiple inclusion preventers around makefile rules

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2018-12-27 17:02:19 +00:00
commit 4d8ff72147
4 changed files with 16 additions and 1 deletions

View file

@ -1,3 +1,6 @@
ifndef DEV_UTILS_MK_INCLUDED
DEV_UTILS_MK_INCLUDED = true
all:
install:
clean distclean:
@ -20,4 +23,4 @@ install-to-system:
sudo systemctl restart $$s ;\
done
endif # ifndef DEV_UTILS_MK_INCLUDED