############################################################################
#** interpcom-1.2  (command interpreter)                                  **
#** An application of the interpcom library : funct                       **
#**                                                                       **
#** 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 MAKE
export CC

all :  funct 

funct : ../lib1/libfunct.a main.o
	$(CC) main.o ../lib1/libfunct.a ../../libinter.a ../cephes/libcephes.a -lm -o funct

../cephes/libcephes.a :
	cd ../cephes; $(MAKE) libcephes.a

main.o : main.c
	$(CC) main.c -c $(CFLAGS) -I../lib1 -I../.. -o main.o

clean-all :
	rm -f funct  *.o *bck *% funct 

clean :
	rm -f *.o *bck *%
	
dyn : ../lib1/libfunct.a main.o
	$(CC) main.o ../lib1/libfunct.a -linter ../cephes/libcephes.a -lm -o funct
