mirror of https://github.com/nealey/irc-bot
36 lines
566 B
Plaintext
36 lines
566 B
Plaintext
OCAMLPACKS[] =
|
|
str
|
|
OCAML_CLIBS = ocamlepoll
|
|
OCAMLCFLAGS += -g
|
|
|
|
.DEFAULT: ircd
|
|
|
|
StaticCLibrary(ocamlepoll, epoll_wrapper)
|
|
|
|
OCamlProgram(ircd, ircd irc command iobuf dispatch client channel)
|
|
|
|
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, .))
|