Source

ocaml-sip / Makefile

Full commit
OCAMLBUILD=ocamlbuild
OCAMLDIRS=\
	-Is src\
	-Is tests\
	-Is tests/data\


OCAMLLIBS=-libs batteries,threadunix

PROGRAM=sipp
SRCS_ALL=${SRCS1} ${PARSERS} ${LEXERS} ${SRCS2}
VERBOSE?=@

.PHONY: clean

all: ${PROGRAM}

ob:

${PROGRAM}: 
	${VERBOSE}${OCAMLBUILD} -use-ocamlfind ${OCAMLDIRS} tests/Main.native

clean:
	${VERBOSE}${OCAMLBUILD} ${OCAMLDIRS} tests/Main.native -clean