Mercurial > octave-libgccjit
diff src/Makefile.in @ 7946:ebe275f82bd5
src/Makefile.in (EXTRAS): Add graphics.cc to the list
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 18 Jul 2008 16:25:12 -0400 |
parents | bf4a04ebff21 |
children | c2d50b69b19f |
line wrap: on
line diff
--- a/src/Makefile.in Fri Jul 18 19:22:41 2008 +0200 +++ b/src/Makefile.in Fri Jul 18 16:25:12 2008 -0400 @@ -218,7 +218,7 @@ BUILT_EXTRAS := graphics.h mxarray.h -EXTRAS := ov-base-int.cc ov-base-mat.cc ov-base-scalar.cc +EXTRAS := ov-base-int.cc ov-base-mat.cc ov-base-scalar.cc graphics-props.cc EXTRA_OBJECTS := oct-errno.o octave.o builtins.o ops.o @@ -383,10 +383,12 @@ @$(srcdir)/mkbuiltins def-files > $@-t @mv $@-t $@ -graphics.h: graphics.h.in genprops.awk - @echo making $@ - @$(AWK) -f $(srcdir)/genprops.awk $< > $@-t - @mv $@-t $@ +## FIXME -- maybe genprops.awk should write both output files? +## Or maybe there should be separate commands to generate each file? +graphics.h graphics-props.cc: graphics.h.in genprops.awk + @echo making graphics.h and graphics-props.cc + @$(AWK) -f $(srcdir)/genprops.awk $< > graphics.h-t + @mv graphics.h-t graphics.h PKG_ADD: $(DLD_DEF_FILES) $(srcdir)/mk-pkg-add $(DLD_DEF_FILES) > $@-t