diff options
author | William Hubbs <williamh@gentoo.org> | 2011-10-28 11:14:44 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2011-10-29 09:43:24 -0500 |
commit | 5066d40ac83fc9036843d670dbf816955b9f40a3 (patch) | |
tree | 9ca229a9816900f0c2864cf0a319a174c4cd36c4 /src | |
parent | f94e8836333f6dea142d9a7b29610fcc8d6b12a3 (diff) | |
download | openrc-5066d40ac83fc9036843d670dbf816955b9f40a3.tar.gz openrc-5066d40ac83fc9036843d670dbf816955b9f40a3.tar.bz2 openrc-5066d40ac83fc9036843d670dbf816955b9f40a3.tar.xz |
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 'src')
-rw-r--r-- | src/librc/Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/librc/Makefile b/src/librc/Makefile index 963fb41..0b4beb2 100644 --- a/src/librc/Makefile +++ b/src/librc/Makefile @@ -39,8 +39,7 @@ endif endif SED_CMD+= ${_LCL_PREFIX} -.SUFFIXES: .h.in .h -.h.in.h: +%.h: %.h.in ${SED} ${SED_CMD} $< > $@ ${SRCS}: rc.h |