#*********************************************************************#
#                                                                     #
#                           Caml Light                                #
#                                                                     #
#            Pierre Weis, projet Cristal, INRIA Rocquencourt          #
#                                                                     #
#  Copyright 2000 Institut National de Recherche en Informatique et   #
#  en Automatique. All rights reserved. This file is distributed      #
#  under the terms of the GNU Library General Public License.         #
#                                                                     #
#*********************************************************************#

# $Id: Makefile,v 1.2 2002/12/27 14:31:18 weis Exp $

TARGET=ledit.l

all: $(TARGET)

ledit.l: ledit.l.tpl ../go.ml
	VERSION=`sed -n -e 's/^.* version = "\(.*\)".*$$/\1/p' ../go.ml`; \
	sed s/LEDIT_VERSION/$$VERSION/ ledit.l.tpl > ledit.l

clean:
	/bin/rm -f *.z[xio] *.o *.bak *~ .*~ *.a $(TARGET)

include ../Makefile.config
