octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: general c++ question


From: John W. Eaton
Subject: Re: general c++ question
Date: Thu, 06 Sep 2007 20:00:29 -0400

On  6-Sep-2007, I wrote:

| The current src/Makefile.in file has this:
| 
|   graphics.h: graphics.h.in genprops.awk
|         @echo making $@
|         @awk -f $(srcdir)/genprops.awk $< > address@hidden
|         @$(simple-move-if-change-rule)
| 
| it seems to work for me.

Oh, I see now that although this rule works, graphics.h must be
present for the dependency generation rules to work, so the following
change is also needed.

jwe


src/ChangeLog:

2007-09-06  John W. Eaton  <address@hidden>

        * Makefile.in (stamp-prereq): Add graphics.h to the dependency list.


Index: src/Makefile.in
===================================================================
RCS file: /cvs/octave/src/Makefile.in,v
retrieving revision 1.445
diff -u -u -r1.445 Makefile.in
--- src/Makefile.in     6 Sep 2007 21:34:24 -0000       1.445
+++ src/Makefile.in     6 Sep 2007 23:58:55 -0000
@@ -316,7 +316,7 @@
        rm -f $@
        $(SH_LD) $(SH_LDFLAGS) $(SONAME_FLAGS) -o $@ $^ $(OCTINTERP_LINK_DEPS)
 
-stamp-prereq: defaults.h oct-conf.h oct-gperf.h parse.cc lex.cc 
__gnuplot_raw__.cc $(OPT_HANDLERS)
+stamp-prereq: defaults.h graphics.h oct-conf.h oct-gperf.h parse.cc lex.cc 
__gnuplot_raw__.cc $(OPT_HANDLERS)
        touch stamp-prereq
 
 octave$(EXEEXT): stamp-prereq $(LIBRARIES) main.o $(DLD_STATIC_OBJ)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]