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.
This commit is contained in:
William Hubbs
2011-10-28 11:14:44 -05:00
parent f94e883633
commit 5066d40ac8
9 changed files with 10 additions and 18 deletions

View File

@@ -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