Makefile: rely on GNU make; derive syntax-check rule names
authorJim Meyering <meyering@redhat.com>
Sun, 13 Mar 2011 17:45:33 +0000 (18:45 +0100)
committerJim Meyering <meyering@redhat.com>
Sun, 13 Mar 2011 17:54:27 +0000 (18:54 +0100)
commitca56fa858e1d4499a1b4483fae0b60294115cdfc
treeb690f73e02bcb00ae91dbeef58bacec3e5992836
parent5d16175c8eb25176fdd3aca576eca995579d5145
Makefile: rely on GNU make; derive syntax-check rule names

Rather than requiring that each sc_ rule be listed as a dependent
of "check", use features of GNU make to derive the list.
* Makefile (syntax-check-rules): Define.
(check): Depend on the new variable, not the hard-coded list.
Add a comment listing a few requirements.
ChangeLog
Makefile