]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/ChangeLog
Use a stamp file for init.c
authorTom Tromey <tom@tromey.com>
Mon, 2 Jul 2018 13:03:13 +0000 (07:03 -0600)
committerTom Tromey <tom@tromey.com>
Mon, 9 Jul 2018 14:03:49 +0000 (08:03 -0600)
commit1998086d5436499e8eaf16772e300459662c3d7c
tree5098b861df9369d030be868b520dbe253df32049
parent4c7549492b301d7d118379c3e98afc0b364d1935
Use a stamp file for init.c

This introduces a stamp file for init.c.  This prevents constant
rebuilds of init.o, by arranging for init.c to only be modified when
its contents change.  (FWIW this is a standard idiom in use by
Automake and by gdb itself for many years.)

gdb/ChangeLog
2018-07-09  Tom Tromey  <tom@tromey.com>

* Makefile.in (init.c): Depend on stamp-init.
(stamp-init): New rule, from init.c rule.
(clean mostlyclean): Remove stamp-init.
gdb/ChangeLog
gdb/Makefile.in