1996-09-05 05:33:34 -07:00
|
|
|
# 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:
|
|
|
|
|
1997-02-16 05:36:42 -08:00
|
|
|
partialclean:
|
1996-09-05 05:33:34 -07:00
|
|
|
rm -f *.cm*
|
|
|
|
|
1997-02-16 05:36:42 -08:00
|
|
|
clean: partialclean
|
1996-09-05 05:33:34 -07:00
|
|
|
|
|
|
|
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) $<
|
|
|
|
|
1996-10-07 07:03:20 -07:00
|
|
|
depend:
|
1996-09-05 05:33:34 -07:00
|
|
|
..\..\tools\ocamldep *.mli *.ml >> .depend
|
|
|
|
|
|
|
|
!include .depend
|