[Aldor-l] compilation errors

Stephen Watt watt at scl.csd.uwo.ca
Tue Apr 19 04:48:53 EDT 2005


Thank you for spotting this Ralf.  

Laurentiu this is very annoying -- could you please fix it?

-- Stephen

On Tue, Apr 19, 2005 at 10:06:14AM +0200, Ralf Hemmecke wrote:
> I had just a small problem with the compilation of the current 
> libraries. The compilation of algebra aborted.
> 
> Unfortunately, the compilation went on and I had to browse the whole 
> compilation output to find out what went wrong.
> 
> I'd rather like that the compilation stops in such a case.
> 
> I figured out the problem in lib/Makefile. It is the "for" loop that 
> does not bother about the error in the submake. :-(
> 
> -------- current version --------
> generic:
> 	@(echo "LIBS MAKE GENERIC"; \
> 	  PATH=$(ALDORROOT)/bin:$(PATH); \
> 	  export PATH; \
> 	  export GENERIC_DIR; \
> 	  for i in $(LIBS_TO_BUILD); do cd $$i; $(MAKE) generic; cd ..; done)
> 
> cleansources:
> 	@for i in $(LIBS_TO_BUILD); do echo "Cleaning sources for $$i"; cd $$i; 
> $(MAKE) clean; cd ..; done
> 
> 
> -------- Suggested version --------
> generic:
> 	@echo "LIBS MAKE GENERIC"
> 	@$(MAKE) PATH="$(ALDORROOT)/bin:$(PATH)" \
> 		GENERIC_DIR="$(GENERIC_DIR)" \
> 		$(LIBS_TO_BUILD:%=%.generic)
> $(LIBS_TO_BUILD:%=%.generic): %.generic:
> 	@cd $*; $(MAKE) generic
> 
> cleansources: $(LIBS_TO_BUILD:%=%.clean)
> $(LIBS_TO_BUILD:%=%.clean): %.clean:
> 	@echo "Cleaning sources for $*"
> 	@cd $*; $(MAKE) clean
> 
> If there are no objections, I will check the new version in.
> 
> Ralf
> _______________________________________________
> Aldor-l mailing list
> Aldor-l at aldor.org
> http://www.aldor.org/mailman/listinfo/aldor-l



More information about the Aldor-l mailing list