std-targets.mk: Add file

Add std-targets.mk, meant to be included mostly to make sure all
mandatory targets are there. On clean and distclean, it also removes
stuff that should not be there anymore after clean.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2026-01-25 16:12:33 +01:00
commit 494d5d29d6
2 changed files with 13 additions and 11 deletions

10
make/std-targets.mk Normal file
View file

@ -0,0 +1,10 @@
# This file contains a set of targets which
# 1. are conclusive (i.e. all mandatory targets)
# 2. don't hurt
all:
install:
clean: clean.std-targets
clean.std-targets:
$(RM) -rf *~ .*.swp *.done
distclean: clean