diff octMakefile.in @ 3646:e85efffe12a5

[project @ 2000-03-25 07:18:55 by jwe]
author jwe
date Sat, 25 Mar 2000 07:18:56 +0000
parents b1830ce6993a
children 4cdb8c0ef5f0
line wrap: on
line diff
--- a/octMakefile.in
+++ b/octMakefile.in
@@ -35,8 +35,9 @@
 
 # Subdirectories in which to run `make all'.
 SUBDIRS = @PLPLOT_DIR@ @READLINE_DIR@ @DLFCN_DIR@ @GLOB_DIR@ \
-	kpathsea libcruft liboctave src scripts doc examples
+	kpathsea libcruft liboctave scripts doc examples
 
+ALL_SUBDIRS = $(SUBDIRS) src
 
 # Subdirectories in which to run `make all'.
 INSTALL_SUBDIRS = libcruft liboctave src scripts doc examples
@@ -67,9 +68,14 @@
   `echo $(localfcnfilepath) | awk -F: '{for (i=1; i<=NF; i++) print $i}'` \
   `echo $(localoctfilepath) | awk -F: '{for (i=1; i<=NF; i++) print $i}'`
 
-all: octave-bug mkoctfile $(SUBDIRS)
+all: octave-bug mkoctfile src
 .PHONY: all
 
+src: $(SUBDIRS)
+	echo making all in $@
+	$(MAKE) -C $@ all
+.PHONY: src
+
 octave-bug: octave-bug.in Makeconf octMakefile
 	@$(do-subst-config-vals)
 	chmod a+rx $@