aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2011-10-28 11:14:44 -0500
committerWilliam Hubbs <williamh@gentoo.org>2011-10-29 09:43:24 -0500
commit5066d40ac83fc9036843d670dbf816955b9f40a3 (patch)
tree9ca229a9816900f0c2864cf0a319a174c4cd36c4 /net
parentf94e8836333f6dea142d9a7b29610fcc8d6b12a3 (diff)
Use pattern rules instead of suffix rules
Rework the makefiles to use pattern rules instead of suffix rules. This is the preferred way to write implicit rules according to the gnu make manual.
Diffstat (limited to 'net')
-rw-r--r--net/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/Makefile b/net/Makefile
index e87d3ddd..c2f37474 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -18,7 +18,7 @@ INC-Linux= adsl.sh apipa.sh arping.sh bonding.sh br2684ctl.sh bridge.sh \
SRCS-NetBSD=
INC-NetBSD= ifwatchd.sh
-${SFX}.sh:
+%.sh: %.sh${SFX}
${CP} $< $@
include ${MK}/scripts.mk