git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@954 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Xavier Leroy 1996-09-05 12:33:34 +00:00
parent ad29eb39c2
commit ad0af44156
1 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,39 @@
# Makefile for the portable graphics library
!include ..\..\config\Makefile.nt
CAMLC=..\..\boot\ocamlrun ..\..\boot\ocamlc -I ..\..\boot
CAMLOPT=..\..\boot\ocamlrun ..\..\ocamlopt -I ..\..\stdlib
all: graphics.cmi graphics.cmo
allopt:
graphics.ml: graphics.mlp
$(CPP) graphics.mlp > graphics.ml
clean:
rm -f *.cm*
rm -f graphics.ml
realclean: clean
rm -f *.a *.o
install:
cp graphics.cm[io] $(LIBDIR)
installopt:
.SUFFIXES: .ml .mli .cmo .cmi .cmx
.mli.cmi:
$(CAMLC) -c $<
.ml.cmo:
$(CAMLC) -c $<
.ml.cmx:
$(CAMLOPT) -c $(COMPFLAGS) $<
depend: graphics.ml
..\..\tools\ocamldep *.mli *.ml >> .depend
!include .depend