irc-bot/OMakefile

37 lines
557 B
Plaintext
Raw Normal View History

OCAMLPACKS[] =
2009-02-08 20:25:27 -07:00
unix
str
2008-03-10 23:57:07 -06:00
OCAML_CLIBS = ocamlepoll
OCAMLCFLAGS += -g
2009-02-08 20:25:27 -07:00
.DEFAULT: bot
2008-03-10 23:57:07 -06:00
StaticCLibrary(ocamlepoll, epoll_wrapper)
2009-02-08 20:25:27 -07:00
OCamlProgram(bot, bot irc command iobuf dispatch)
section
2008-03-18 22:50:23 -06:00
OCAMLPACKS[] +=
oUnit
NATIVE_ENABLED = false
2008-03-18 22:50:23 -06:00
tests.cmx:
tests.cmi:
tests.cmo:
tests$(EXT_OBJ):
2008-03-18 22:50:23 -06:00
dispatch_tests.cmx:
dispatch_tests.cmi:
dispatch_tests.cmo:
dispatch_tests$(EXT_OBJ):
2008-03-15 19:46:06 -06:00
2008-03-18 22:50:23 -06:00
OCamlProgram(tests, tests dispatch irc command iobuf client channel)
.PHONY: test
test: tests
./tests
.PHONY: clean
clean:
rm $(filter-proper-targets $(ls R, .))