PACKAGES = lablgtk2.init PACKAGE = @PACKAGE@ BUILDFLAGS = -package "$(PACKAGES)" -I ../ LINKFLAGS = $(BUILDFLAGS) -linkpkg OCAMLC = ocamlfind ocamlc OCAMLOPT = ocamlfind ocamlopt TMPDIR = .test all: test opt: test.opt test: test.ml ../$(PACKAGE).cma $(OCAMLC) $(LINKFLAGS) $(PACKAGE).cma -o $@ $< test.opt: test.ml ../$(PACKAGE).cmxa $(OCAMLOPT) $(LINKFLAGS) $(PACKAGE).cmxa -o $@ $< clean: rm -f *.cm[iox] *.[ao] *.cmxa test test.opt distclean: rm Makefile