mirror of
https://github.com/wfjm/w11.git
synced 2026-01-13 15:37:43 +00:00
- generic_so.mk: use -scrUuv for ar to avoid "'u' modifier ignored" - *.mk: add SPDX tag and copyright line
24 lines
673 B
Makefile
24 lines
673 B
Makefile
# $Id: dontincdep.mk 1168 2019-06-20 11:52:51Z mueller $
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
# Copyright 2013- by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
|
|
#
|
|
# Revision History:
|
|
# Date Rev Version Comment
|
|
# 2013-01-27 477 1.0 Initial version
|
|
#
|
|
# DONTINCDEP controls whether dependency files are included. Set it if
|
|
# any of the 'clean' type targets is involved
|
|
#
|
|
ifneq ($(findstring clean, $(MAKECMDGOALS)),)
|
|
DONTINCDEP = 1
|
|
endif
|
|
ifneq ($(findstring cleandep, $(MAKECMDGOALS)),)
|
|
DONTINCDEP = 1
|
|
endif
|
|
ifneq ($(findstring distclean, $(MAKECMDGOALS)),)
|
|
DONTINCDEP = 1
|
|
endif
|
|
ifdef DONTINCDEP
|
|
$(info DONTINCDEP set, *.dep files not included)
|
|
endif
|