##############################################################################
##                 The Calculus of Inductive Constructions                  ##
##                                                                          ##
##                                Projet Coq                                ##
##                                                                          ##
##                     INRIA                        ENS-CNRS                ##
##              Rocquencourt                        Lyon                    ##
##                                                                          ##
##                                Coq V6.1                                  ##
##                                                                          ##
##                                                                          ##
##############################################################################

# WARNING
#
# This Makefile has been automagically generated by do_Makefile
# Edit at your own risks !
#
# END OF WARNING

#
# This Makefile was generated by the command line :
# do_Makefile -I tactics -I milad -f Make 
#

##########################
#                        #
# Variables definitions. #
#                        #
##########################

CAMLP4LIB=`camlp4 -where`
MAKE=make "COQBIN=$(COQBIN)" "OPT=$(OPT)"
COQSRC=-I $(COQTOP)/src/tactics -I $(COQTOP)/src/proofs \
  -I $(COQTOP)/src/syntax -I $(COQTOP)/src/env -I $(COQTOP)/src/lib/util \
  -I $(COQTOP)/src/constr -I $(COQTOP)/tactics -I $(COQTOP)/src/meta \
  -I $(COQTOP)/src/parsing -I $(COQTOP)/src/typing -I $(CAMLP4LIB)
ZFLAGS=$(LIBS) $(COQSRC)
FULLOPT=$(OPT:-opt=-full)
COQFLAGS=-q $(OPT) $(LIBS)
COQC=$(COQBIN)coqc
COQFULL=$(COQBIN)coqc $(FULLOPT) -q $(LIBS)
GALLINA=gallina
COQ2HTML=coq2html
COQ2LATEX=coq2latex
CAMLC=ocamlc -c
CAMLOPTC=ocamlopt -c
CAMLLINK=ocamlc
CAMLOPTLINK=ocamlopt
COQDEP=$(COQBIN)coqdep -c
P4=$(COQBIN)call_camlp4 -I $(COQTOP)/src/parsing \
  -I $(COQTOP)/theories/INIT -I $(COQTOP)/tactics
P4DEP=$(COQBIN)camlp4dep

#########################
#                       #
# Libraries definition. #
#                       #
#########################

LIBS=-I .\
  -I tactics\
  -I milad

###################################
#                                 #
# Definition of the "all" target. #
#                                 #
###################################

all:: Basics.vo\
  CC_Props.vo\
  CComplex.vo\
  CFields.vo\
  CGroups.vo\
  CMetricFields.vo\
  CMonoids.vo\
  COrdFields.vo\
  CPoly_ApZero.vo\
  CPoly_ApZero1.vo\
  CPoly_Contin.vo\
  CPoly_Contin1.vo\
  CPoly_Degree.vo\
  CPoly_NthCoeff.vo\
  CPoly_Rev.vo\
  CPoly_Shift.vo\
  CPolynomials.vo\
  CReals.vo\
  CReals1.vo\
  CRings.vo\
  CSemiGroups.vo\
  CSetoids.vo\
  CSums.vo\
  CSumsReals.vo\
  CVectorSpace.vo\
  Convert_CReals.vo\
  Expon.vo\
  FTA.vo\
  FTAreg.vo\
  FinDimVecSp.vo\
  IVT.vo\
  KeyLemma.vo\
  KneserLemma.vo\
  MainLemma.vo\
  Matrices.vo\
  NRootCC.vo\
  NRootIR.vo\
  OddPolyRootIR.vo\
  RRefl_corr.vo\
  RReflection.vo\
  RealFuncts.vo\
  Refl_corr.vo\
  Reflection.vo\
  Spec_CReals.vo\
  Spec_CReals45.vo\
  Step2.vo\
  Triangle.vo\
  TupleCGroups.vo\
  TupleCSetoids.vo\
  finite.vo\
  listn.vo\
  matrix.vo\
  vectors.vo

###################
#                 #
# Custom targets. #
#                 #
###################

Basics.vo: Basics.v
	coqc -image tactics/coqalgebra.out -I tactics -I milad Basics.v

CC_Props.vo: CC_Props.v
	coqc -image tactics/coqalgebra.out -I tactics -I milad CC_Props.v

CComplex.vo: CComplex.v
	coqc -image tactics/coqalgebra.out -I tactics -I milad CComplex.v

CFields.vo: CFields.v
	coqc -image tactics/coqalgebra.out -I tactics -I milad CFields.v

CGroups.vo: CGroups.v
	coqc -image tactics/coqalgebra.out -I tactics -I milad CGroups.v

CMetricFields.vo: CMetricFields.v
	coqc -image tactics/coqalgebra.out -I tactics -I milad CMetricFields.v

CMonoids.vo: CMonoids.v
	coqc -image tactics/coqalgebra.out -I tactics -I milad CMonoids.v

COrdFields.vo: COrdFields.v
	coqc -image tactics/coqalgebra.out -I tactics -I milad COrdFields.v

CPoly_ApZero.vo: CPoly_ApZero.v
	coqc -image tactics/coqalgebra.out -I tactics -I milad CPoly_ApZero.v

CPoly_ApZero1.vo: CPoly_ApZero1.v
	coqc -image tactics/coqalgebra.out -I tactics -I milad CPoly_ApZero1.v

CPoly_Contin.vo: CPoly_Contin.v
	coqc -image tactics/coqalgebra.out -I tactics -I milad CPoly_Contin.v

CPoly_Contin1.vo: CPoly_Contin1.v
	coqc -image tactics/coqalgebra.out -I tactics -I milad CPoly_Contin1.v

CPoly_Degree.vo: CPoly_Degree.v
	coqc -image tactics/coqalgebra.out -I tactics -I milad CPoly_Degree.v

CPoly_NthCoeff.vo: CPoly_NthCoeff.v
	coqc -image tactics/coqalgebra.out -I tactics -I milad CPoly_NthCoeff.v

CPoly_Rev.vo: CPoly_Rev.v
	coqc -image tactics/coqalgebra.out -I tactics -I milad CPoly_Rev.v

CPoly_Shift.vo: CPoly_Shift.v
	coqc -image tactics/coqalgebra.out -I tactics -I milad CPoly_Shift.v

CPolynomials.vo: CPolynomials.v
	coqc -image tactics/coqalgebra.out -I tactics -I milad CPolynomials.v

CReals.vo: CReals.v
	coqc -image tactics/coqalgebra.out -I tactics -I milad CReals.v

CReals1.vo: CReals1.v
	coqc -image tactics/coqalgebra.out -I tactics -I milad CReals1.v

CRings.vo: CRings.v
	coqc -image tactics/coqalgebra.out -I tactics -I milad CRings.v

CSemiGroups.vo: CSemiGroups.v
	coqc -image tactics/coqalgebra.out -I tactics -I milad CSemiGroups.v

CSetoids.vo: CSetoids.v
	coqc -image tactics/coqalgebra.out -I tactics -I milad CSetoids.v

CSums.vo: CSums.v
	coqc -image tactics/coqalgebra.out -I tactics -I milad CSums.v

CSumsReals.vo: CSumsReals.v
	coqc -image tactics/coqalgebra.out -I tactics -I milad CSumsReals.v

CVectorSpace.vo: CVectorSpace.v
	coqc -image tactics/coqalgebra.out -I tactics -I milad CVectorSpace.v

Convert_CReals.vo: Convert_CReals.v
	coqc -image tactics/coqalgebra.out -I tactics -I milad Convert_CReals.v

Expon.vo: Expon.v
	coqc -image tactics/coqalgebra.out -I tactics -I milad Expon.v

FTA.vo: FTA.v
	coqc -image tactics/coqalgebra.out -I tactics -I milad FTA.v

FTAreg.vo: FTAreg.v
	coqc -image tactics/coqalgebra.out -I tactics -I milad FTAreg.v

FinDimVecSp.vo: FinDimVecSp.v
	coqc -image tactics/coqalgebra.out -I tactics -I milad FinDimVecSp.v

IVT.vo: IVT.v
	coqc -image tactics/coqalgebra.out -I tactics -I milad IVT.v

KeyLemma.vo: KeyLemma.v
	coqc -image tactics/coqalgebra.out -I tactics -I milad KeyLemma.v

KneserLemma.vo: KneserLemma.v
	coqc -image tactics/coqalgebra.out -I tactics -I milad KneserLemma.v

MainLemma.vo: MainLemma.v
	coqc -image tactics/coqalgebra.out -I tactics -I milad MainLemma.v

Matrices.vo: Matrices.v
	coqc -image tactics/coqalgebra.out -I tactics -I milad Matrices.v

NRootCC.vo: NRootCC.v
	coqc -image tactics/coqalgebra.out -I tactics -I milad NRootCC.v

NRootIR.vo: NRootIR.v
	coqc -image tactics/coqalgebra.out -I tactics -I milad NRootIR.v

OddPolyRootIR.vo: OddPolyRootIR.v
	coqc -image tactics/coqalgebra.out -I tactics -I milad OddPolyRootIR.v

RRefl_corr.vo: RRefl_corr.v
	coqc -image tactics/coqalgebra.out -I tactics -I milad RRefl_corr.v

RReflection.vo: RReflection.v
	coqc -image tactics/coqalgebra.out -I tactics -I milad RReflection.v

RealFuncts.vo: RealFuncts.v
	coqc -image tactics/coqalgebra.out -I tactics -I milad RealFuncts.v

Refl_corr.vo: Refl_corr.v
	coqc -image tactics/coqalgebra.out -I tactics -I milad Refl_corr.v

Reflection.vo: Reflection.v
	coqc -image tactics/coqalgebra.out -I tactics -I milad Reflection.v

Spec_CReals.vo: Spec_CReals.v
	coqc -image tactics/coqalgebra.out -I tactics -I milad Spec_CReals.v

Spec_CReals45.vo: Spec_CReals45.v
	coqc -image tactics/coqalgebra.out -I tactics -I milad Spec_CReals45.v

Step2.vo: Step2.v
	coqc -image tactics/coqalgebra.out -I tactics -I milad Step2.v

Triangle.vo: Triangle.v
	coqc -image tactics/coqalgebra.out -I tactics -I milad Triangle.v

TupleCGroups.vo: TupleCGroups.v
	coqc -image tactics/coqalgebra.out -I tactics -I milad TupleCGroups.v

TupleCSetoids.vo: TupleCSetoids.v
	coqc -image tactics/coqalgebra.out -I tactics -I milad TupleCSetoids.v

finite.vo: finite.v
	coqc -image tactics/coqalgebra.out -I tactics -I milad finite.v

listn.vo: listn.v
	coqc -image tactics/coqalgebra.out -I tactics -I milad listn.v

matrix.vo: matrix.v
	coqc -image tactics/coqalgebra.out -I tactics -I milad matrix.v

vectors.vo: vectors.v
	coqc -image tactics/coqalgebra.out -I tactics -I milad vectors.v

####################
#                  #
# Special targets. #
#                  #
####################

.PHONY: all opt byte archclean clean install depend

byte::
	$(MAKE) all "OPT="

opt::
	$(MAKE) all "OPT=-opt"

include .depend

depend::
	rm .depend
	$(COQDEP) -i $(LIBS) *.v *.ml *.mli >.depend
	$(COQDEP) $(LIBS) -suffix .html *.v >>.depend

install::
	@if test -z $(TARGETDIR); then echo "You must set TARGETDIR (for instance with 'make TARGETDIR=foobla install')"; exit 1; fi

Makefile::
	mv -f Makefile Makefile.bak
	do_Makefile -f Make -o Makefile

clean::
	rm -f *.cmo *.cmi *.cmx *.o *.vo *.vi *~

archclean::
	rm -f *.cmx *.o

# WARNING
#
# This Makefile has been automagically generated by do_Makefile
# Edit at your own risks !
#
# END OF WARNING

