irc-bot/OMakefile

34 lines
493 B
Plaintext

OCAMLPACKS[] =
unix
str
OCAMLCFLAGS += -g
.DEFAULT: bot
OCamlProgram(bot, bot irc command iobuf dispatch cdb)
section
OCAMLPACKS[] +=
oUnit
NATIVE_ENABLED = false
tests.cmx:
tests.cmi:
tests.cmo:
tests$(EXT_OBJ):
dispatch_tests.cmx:
dispatch_tests.cmi:
dispatch_tests.cmo:
dispatch_tests$(EXT_OBJ):
OCamlProgram(tests, tests dispatch irc command iobuf client channel)
.PHONY: test
test: tests
./tests
.PHONY: clean
clean:
rm $(filter-proper-targets $(ls R, .))