Source

shor-algo-ocaml / Makefile

Diff from to
 SOURCES2 = $(SOURCES1:.mll=.ml)
 OBJS = $(SOURCES2:.ml=.cmo)
 OPTOBJS = $(SOURCES2:.ml=.cmx)
+OBJSTEX = $(SOURCES:.ml=.tex)
 
 $(EXEC): $(OBJS)
 	$(CAMLC) $(CUSTOM) -o $(EXEC) $(LIBS) $(OBJS)
 $(EXEC).opt: $(OPTOBJS)
 	$(CAMLOPT) -o $(EXEC) $(LIBS:.cma=.cmxa) $(OPTOBJS)
 
-.SUFFIXES:
 .SUFFIXES: .ml .mli .cmo .cmi .cmx .mll .mly
 
+
 .ml.cmo:
 	$(CAMLC) $(LIBS) -annot -c $<
 
+#.ml.tex:
+# 	lgrind -i -lOCaml $< > latex/$@
+
 .mli.cmi:
 	$(CAMLC) -c $<