With a pattern rule, the recipe will only be executed once, even when the rule has multiple targets. Using this to handle the output from bison is included as an example in the GNU make manual. This fixes the makefiles so that bison-generated header files will be regenerated if they are deleted. |
||
|---|---|---|
| .. | ||
| Makefile.in | ||
| cflexor.lex | ||
| cfparse.y | ||
| cfparse_misc.h | ||
| globals.h | ||
| iverilog.man.in | ||
| main.c | ||
| substit.c | ||