-
It appears that in SVR4 make,
a suffix rule can be specified with no commands, and it is treated as if
it had empty commands (see Using
empty commands).
For example, .c.a:
will override the built-in .c.a
suffix rule. We feel that it is cleaner for a rule without commands to
always simply add to the dependency list for the target. .c.a:
can be easily rewritten to get the desired behavior in GNU make:
.c.a: ;
-
Some versions of make
invoke the shell with the -e
flag, except under -k
(see Testing
the compilation of a program). The -e
flag tells the shell to exit as soon as any program it runs returns a nonzero
status.