forked from github/verilator
Makefile: reconfigure when src/*.in changes
This commit is contained in:
parent
10e6f61125
commit
786c65ea5f
18
Makefile.in
18
Makefile.in
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user