############################################################################
#** interpcom-1.2  (command interpreter)                                  **
#** Applications of the interpcom library                                 **
#**                                                                       **
#** Copyright (C) 1999  Jean-Marc Drezet                                  **
#**                                                                       **
#**  This library is free software; you can redistribute it and/or        **
#**  modify it under the terms of the GNU Library General Public          **
#**  License as published by the Free Software Foundation; either         **
#**  version 2 of the License, or (at your option) any later version.     **
#**									  **
#**  This library is distributed in the hope that it will be useful,      **
#**  but WITHOUT ANY WARRANTY; without even the implied warranty of       **
#**  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU    **
#**  Library General Public License for more details. 			  **
#**									  **
#**  You should have received a copy of the GNU Library General Public    **
#**  License along with this library; if not, write to the Free		  **
#**  Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.   **
#**                                                                       **
#** Please mail any bug reports/fixes/enhancements to me at:              **
#**      drezet@math.jussieu.fr                                           **
#** or                                                                    **
#**      Jean-Marc Drezet                                                 **
#**      Institut de Mathematiques                                        **
#**      Aile 45-55                                                       **
#**      2, place Jussieu                                                 **
#**      75251 Paris Cedex 05                                             **
#**      France			 					  **
#**                                                                       **
############################################################################
export CFLAGS
export CC
export MAKE

all: appli1/funct appli2/graph glue/funct_graph

appli1/funct:
	cd cephes; make libcephes.a
	cd lib1; make libfunct.a
	cd appli1; make funct
	
appli2/graph:
	cd lib2; make libgraph.a 
	cd appli2; make graph
	
glue/funct_graph:
	cd glue; make funct_graph


clean: 
	rm -f *bck *% 
	cd cephes; $(MAKE) clean
	cd lib1; $(MAKE) clean
	cd appli1; $(MAKE) clean
	cd lib2; $(MAKE) clean
	cd appli2; $(MAKE) clean
	cd glue; $(MAKE) clean
	
clean-all:
	rm -f *bck *% 
	cd cephes; $(MAKE) clean-all
	cd lib1; $(MAKE) clean-all
	cd appli1; $(MAKE) clean-all
	cd lib2; $(MAKE) clean-all
	cd appli2; $(MAKE) clean-all
	cd glue; $(MAKE) clean-all
	
	
	
