[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: removing graphics.h from stamp-prereq in src/Makefile.in
From: |
John W. Eaton |
Subject: |
Re: removing graphics.h from stamp-prereq in src/Makefile.in |
Date: |
Wed, 06 Feb 2008 05:24:24 -0500 |
On 6-Feb-2008, Michael Goffioul wrote:
| On Wed, Feb 6, 2008 at 12:11 AM, John W. Eaton <address@hidden> wrote:
| > If you omit dependency information, how do you ensure that all the
| > necessary files have been recompiled when a .h file changes (for
| > example)?
|
| You don't... :-)
| It has always been like that since I compile octave with MSVC and I'm
| used to it. This was due the combination of several facts:
| 1) cc-msvc didn't support dependency generation (now it does)
| 2) GNU make 3.81 does not support windows path anymore
| (path with colon)
You mean the Cygwin build of GNU Make, right? I think GNU Make still
supports Windows paths, but as I recall that feature is disabled in
the Cygwin build.
| 3) it's slow (much slower than the equivalent under Linux)
|
| Now, dependencies could be enabled again under MSVC, so you
| might consider the attached patch (configure.in.diff).
I applied it.
| > What about doing the following instead? Then we don't need special
| > cases for individual files.
|
| This work OK. However, now when I try to enable dependencies again,
| I found another problem: make does not know how to build y.tab.c,
| which is part of parse.cc/parse.df dependencies. This can be worked
| around by adding y.tab.c to PHONY targets, but how do you cope
| with that under Linux?
Where does y.tab.c show up as a dependency?
Thanks,
jwe
- Re: removing graphics.h from stamp-prereq in src/Makefile.in, (continued)
- Re: removing graphics.h from stamp-prereq in src/Makefile.in, John W. Eaton, 2008/02/05
- Re: removing graphics.h from stamp-prereq in src/Makefile.in, Michael Goffioul, 2008/02/06
- Re: removing graphics.h from stamp-prereq in src/Makefile.in, Michael Goffioul, 2008/02/06
- Re: removing graphics.h from stamp-prereq in src/Makefile.in, John W. Eaton, 2008/02/06
- Re: removing graphics.h from stamp-prereq in src/Makefile.in, Michael Goffioul, 2008/02/06
- Re: removing graphics.h from stamp-prereq in src/Makefile.in, John W. Eaton, 2008/02/06
- Re: removing graphics.h from stamp-prereq in src/Makefile.in, Michael Goffioul, 2008/02/06
- Re: removing graphics.h from stamp-prereq in src/Makefile.in, John W. Eaton, 2008/02/06
- Re: removing graphics.h from stamp-prereq in src/Makefile.in, Michael Goffioul, 2008/02/06
- Re: removing graphics.h from stamp-prereq in src/Makefile.in, John W. Eaton, 2008/02/06
- Re: removing graphics.h from stamp-prereq in src/Makefile.in,
John W. Eaton <=
- Re: removing graphics.h from stamp-prereq in src/Makefile.in, Michael Goffioul, 2008/02/06
Re: removing graphics.h from stamp-prereq in src/Makefile.in, Kai Habel, 2008/02/04