Mercurial > hg > octave-lojdl
changeset 9980:e352f8366b02
Use simple_move_if_change_rule for cruft.def to eliminate unnecessary compilations.
author | Rik <rdrider0-list@yahoo.com> |
---|---|
date | Sun, 13 Dec 2009 22:32:47 -0800 |
parents | 3878bae57c12 |
children | 692ab4eaf965 |
files | libcruft/ChangeLog libcruft/Makefile.am |
diffstat | 2 files changed, 10 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/libcruft/ChangeLog +++ b/libcruft/ChangeLog @@ -1,3 +1,8 @@ +2009-12-13 Rik <octave@nomad.inbox5.com> + + * Makefile.am: Use simple_move_if_change_rule for cruft.def to eliminate + unnecessary compilations. + 2009-12-07 John W. Eaton <jwe@octave.org> * misc/f77-fcn.h, misc/lo-error.h, misc/quit.h,
--- a/libcruft/Makefile.am +++ b/libcruft/Makefile.am @@ -23,9 +23,9 @@ include ../common.mk -octlib_LTLIBRARIES = libcruft.la +AUTOMAKE_OPTIONS = subdir-objects -AUTOMAKE_OPTIONS = subdir-objects +octlib_LTLIBRARIES = libcruft.la libcruft_la_SOURCES = @@ -60,7 +60,8 @@ include slatec-fn/module.mk include villad/module.mk -cruft.def: $(libcruft_la_SOURCES) $(TOPDIR)/libcruft/mkf77def +cruft.def: $(libcruft_la_SOURCES) mkf77def chmod a+rx mkf77def ./mkf77def $(srcdir) $(libcruft_la_SOURCES) > $@-t - mv $@-t $@ + $(simple_move_if_change_rule) +