Makefile: reconfigure when src/*.in changes

This commit is contained in:
Wilson Snyder 2010-02-15 07:34:55 -05:00
parent 10e6f61125
commit 786c65ea5f
2 changed files with 8 additions and 13 deletions

View File

@ -344,21 +344,15 @@ install-msg:
@echo "See 'verilator.txt' for documentation." @echo "See 'verilator.txt' for documentation."
@echo @echo
# autoheader might not change config_build.h.in, so touch a stamp file. IN_WILD := ${srcdir}/*.in ${srcdir}/*/*.in
IN_WILD := ${srcdir}/*.in ${srcdir}/*/*.in ${srcdir}/*/*/*.in \
*.in */*.in */*.in
${srcdir}/config_build.h.in: stamp-h.in # autoheader might not change config_build.h.in, so touch it
${srcdir}/stamp-h.in: configure.ac $(wildcard $(IN_WILD)) ${srcdir}/config_build.h: ${srcdir}/config_build.h.in configure
cd ${srcdir} && autoheader cd ${srcdir} && autoheader
echo timestamp > ${srcdir}/stamp-h.in touch $@
config_build.h: stamp-h Makefile: Makefile.in config.status $(IN_WILD)
stamp-h: config_build.h.in config.status
./config.status
Makefile: Makefile.in config.status
./config.status
src/Makefile: src/Makefile.in config.status
./config.status ./config.status
src/Makefile: src/Makefile.in Makefile
config.status: configure config.status: configure
./config.status --recheck ./config.status --recheck
configure: configure.ac configure: configure.ac

View File

@ -122,7 +122,8 @@ and leave tabs at 8 columns, so every other indent level is a tab stop.
In Emacs, use in your ~/.emacs In Emacs, use in your ~/.emacs
(c-set-style "cc-mode") (add-hook 'c-mode-common-hook '(lambda ()
(c-set-style "cc-mode"))))
This sets indentation to the cc-mode defaults. (Verilator predates a This sets indentation to the cc-mode defaults. (Verilator predates a
CC-mode change of several years ago which overrides the defaults with GNU CC-mode change of several years ago which overrides the defaults with GNU