# ispi makefile. # Copyright (C) 2004 Jean Goubault-Larrecq and LSV, CNRS UMR 8643 & ENS Cachan # and INRIA Futurs projet SECSI. # # This file is part of ispi. # # ispi is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # ispi 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 General Public License for more details. # # You should have received a copy of the GNU General Public License # along with ispi; see the file COPYING. If not, write to # the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. %.mlx : %.ml himml -c $< OBJS = yyerror.mlx gensym.mlx process.mlx spi_tab.mlx spi_lex.mlx term.mlx gclause.mlx \ lean.mlx main.mlx ALL = ispi all: $(ALL) count: @wc `sh filelist $(OBJS)` ispi: $(OBJS) himmllnk ispi $(OBJS) spi_tab.ml spi_tab_h.ml : spi.y hyacc --debug --verbose -p spi $< echo "open \"process_h\";" >spi_tmp.ml cat spi_tab_h.ml >>spi_tmp.ml mv spi_tmp.ml spi_tab_h.ml spi_lex.ml : spi.l hlex -s -Pspi -ospi_lex.ml $< clean: -rm *.mlx -rm *_tab*.ml -rm *_lex*.ml -rm $(ALL) -rm dep.ps -rm gc.out cleanall : clean -rm *~ dep.ps: depend ocamldot .depend | dot -Tps >dep.ps depend: himmldep *.ml >.depend include .depend