diff doc/interpreter/Makefile.in @ 4093:5a82e874999b

[project @ 2002-10-08 23:48:45 by jwe]
author jwe
date Tue, 08 Oct 2002 23:48:46 +0000
parents babc519f245b
children 8496ae60db8a
line wrap: on
line diff
--- a/doc/interpreter/Makefile.in	Mon Oct 07 16:13:22 2002 +0000
+++ b/doc/interpreter/Makefile.in	Tue Oct 08 23:48:46 2002 +0000
@@ -62,16 +62,21 @@
 all: octave.info octave.dvi octave.ps octave_toc.html
 .PHONY: all
 
-DOCSTRINGS = $(TOPDIR)/src/DOCSTRINGS $(TOPDIR)/scripts/DOCSTRINGS
+$(TEXINFO): src-DOCSTRINGS scripts-DOCSTRINGS munge-texi
 
-$(TEXINFO): $(DOCSTRINGS) munge-texi
+%.o : %.cc
+	$(BUILD_CXX) -c $(INCFLAGS) -DHAVE_CONFIG_H $< -o $@
 
 munge-texi: munge-texi.o Map-s.o
-	$(CXX) $(CPPFLAGS) $(ALL_CXXFLAGS) $(ALL_LDFLAGS) -o $@ $^
+	$(BUILD_CXX) -o $@ $^
 
-# Kluge: if the DOCSTRING files are present, assume they are current.
-$(DOCSTRINGS):
-	$(MAKE) -C $(dir $@) $(notdir $@)
+src-DOCSTRINGS:
+	$(MAKE) -C ../../src DOCSTRINGS
+.PHONY: src-DOCSTRINGS
+
+scripts-DOCSTRINGS:
+	$(MAKE) -C ../../scripts DOCSTRINGS
+.PHONY: scripts-DOCSTRINGS
 
 %.texi : %.txi
 	@echo making $@ from $<