2008-10-20 12:09:14 +00:00
|
|
|
# Generate .depend
|
2015-12-04 16:52:19 -06:00
|
|
|
# Copyright (c) 2008-2015 The OpenRC Authors.
|
|
|
|
# See the Authors file at the top-level directory of this distribution and
|
|
|
|
# https://github.com/OpenRC/openrc/blob/master/AUTHORS
|
|
|
|
#
|
|
|
|
# This file is part of OpenRC. It is subject to the license terms in
|
|
|
|
# the LICENSE file found in the top-level directory of this
|
|
|
|
# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE
|
|
|
|
# This file may not be copied, modified, propagated, or distributed
|
|
|
|
# except according to the terms contained in the LICENSE file.
|
2008-01-07 14:20:13 +00:00
|
|
|
|
2008-01-09 11:44:43 +00:00
|
|
|
CLEANFILES+= .depend
|
2008-03-03 13:04:08 +00:00
|
|
|
IGNOREFILES+= .depend
|
2008-01-09 11:44:43 +00:00
|
|
|
|
|
|
|
.depend: ${SRCS}
|
2009-04-24 08:33:11 +00:00
|
|
|
rm -f .depend
|
2015-01-22 09:43:28 -05:00
|
|
|
${CC} ${LOCAL_CPPFLAGS} ${CPPFLAGS} -MM ${SRCS} > .depend
|
2008-01-07 14:20:13 +00:00
|
|
|
|
2008-10-20 12:09:14 +00:00
|
|
|
depend: .depend extra_depend
|
|
|
|
|
2011-02-02 16:42:17 -06:00
|
|
|
-include .depend
|