2008-02-08 17:41:07 -07:00
|
|
|
OCAMLPACKS[] =
|
|
|
|
equeue
|
|
|
|
pcre
|
2008-02-27 22:50:27 -07:00
|
|
|
str
|
2008-03-10 23:57:07 -06:00
|
|
|
OCAML_CLIBS = ocamlepoll
|
2008-02-29 17:16:00 -07:00
|
|
|
OCAMLCFLAGS += -g
|
2008-02-08 17:41:07 -07:00
|
|
|
|
2008-02-27 22:50:27 -07:00
|
|
|
.DEFAULT: ircd
|
2008-02-08 17:41:07 -07:00
|
|
|
|
2008-03-10 23:57:07 -06:00
|
|
|
StaticCLibrary(ocamlepoll, epoll_wrapper)
|
2008-02-08 17:41:07 -07:00
|
|
|
|
2008-03-10 23:57:07 -06:00
|
|
|
OCamlProgram(ircd, ircd irc command iobuf client channel)
|
2008-03-07 18:19:58 -07:00
|
|
|
|
2008-02-08 17:41:07 -07:00
|
|
|
section
|
|
|
|
OCAMLPACKS[] +=
|
|
|
|
oUnit
|
2008-02-29 17:16:00 -07:00
|
|
|
NATIVE_ENABLED = false
|
2008-02-08 17:41:07 -07:00
|
|
|
|
|
|
|
tests.cmx:
|
|
|
|
tests.cmi:
|
2008-02-29 17:16:00 -07:00
|
|
|
tests.cmo:
|
2008-02-08 17:41:07 -07:00
|
|
|
tests$(EXT_OBJ):
|
|
|
|
|
2008-03-14 21:28:22 -06:00
|
|
|
OCamlProgram(tests, tests dispatch_tests dispatch chat irc command iobuf client channel)
|
2008-02-08 17:41:07 -07:00
|
|
|
|
2008-03-07 18:19:58 -07:00
|
|
|
.PHONY: test
|
|
|
|
test: tests
|
|
|
|
./tests
|
|
|
|
|
2008-02-08 17:41:07 -07:00
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
2008-02-14 18:53:57 -07:00
|
|
|
rm $(filter-proper-targets $(ls R, .))
|