1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
# Makefile
# --------
# Copyright : (c) 2009, Jeremie Dimino <jeremie@dimino.org>
# Licence : BSD3
#
# This file is a part of ocaml-usb.
# Tools
OCAMLFIND := ocamlfind
OCAMLBUILD := ocamlbuild
# Use classic-display when compiling under a terminal which does not
# support ANSI sequence:
ifeq ($(TERM),dumb)
OCAMLBUILD += -classic-display
endif
all: best
best:
$(OCAMLBUILD) best
byte:
$(OCAMLBUILD) byte
native:
$(OCAMLBUILD) native
clean:
$(OCAMLBUILD) -clean
.PHONY: best all byte native clean
|