############################################################################
#** interpcom-1.1  (mini-command interpreter)                             **
#** makefile for DJGPP                                                    **
#**                                                                       **
#** Copyright (C) 1998  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			 					  **
#**                                                                       **
############################################################################
CC=gcc
CFLAGS=-O6 -funroll-loops -D_ENG_LANG -D_MSDOS_VERSION -I..

all :  libint_m.a 

OBJS =  command.o com_sys.o ee.o interp.o unixfic.o  

libint_m.a : $(OBJS)
	ar cr libint_m.a $(OBJS) 




#
command.o :  ../command.c interp.h
	$(CC) ../command.c  -c $(CFLAGS) -o command.o
#
ee.o :  ../ee.c interp.h
	$(CC) ../ee.c       -c $(CFLAGS) -o ee.o
#
com_sys.o :  com_sys.c interp.h
	$(CC) com_sys.c  -c -O6 -D_ENG_LANG -D_MSDOS_VERSION -I.. -o com_sys.o
#
unixfic.o :  ../unixfic.c interp.h
	$(CC) ../unixfic.c  -c $(CFLAGS) -o unixfic.o
