mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
make: Add multiple inclusion preventers around makefile rules
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
a8b958b7cf
commit
4d8ff72147
4 changed files with 16 additions and 1 deletions
|
|
@ -3,6 +3,9 @@
|
|||
# contact@jannet.de
|
||||
# $Id$
|
||||
|
||||
ifndef TARGETS_TOOLS_MK_INCLUDED
|
||||
TARGETS_TOOLS_MK_INCLUDED = true
|
||||
|
||||
include $(MODDIR)/make/rules.mk
|
||||
|
||||
ifneq ($(strip $(SRC_ALL_CPP)),)
|
||||
|
|
@ -39,3 +42,4 @@ clean: objclean textclean localclean profclean clean.link
|
|||
clean.link:
|
||||
if [ -L "$(HDRDIR_SCOPE_SUFFIX)" -a "`readlink $(HDRDIR_SCOPE_SUFFIX) 2>/dev/null`" = . ]; then rm $(HDRDIR_SCOPE_SUFFIX); fi
|
||||
|
||||
endif # ifndef TARGETS_TOOLS_MK_INCLUDED
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue