2008-02-08 17:41:07 -07:00
|
|
|
OCAMLPACKS[] =
|
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-18 17:20:44 -06:00
|
|
|
OCamlProgram(ircd, ircd irc command iobuf dispatch client channel)
|
2008-03-07 18:19:58 -07:00
|
|
|
|
2008-02-08 17:41:07 -07:00
|
|
|
section
|
2008-03-18 22:50:23 -06:00
|
|
|
OCAMLPACKS[] +=
|
|
|
|
oUnit
|
|
|
|
NATIVE_ENABLED = false
|
2008-02-08 17:41:07 -07:00
|
|
|
|
2008-03-18 22:50:23 -06:00
|
|
|
tests.cmx:
|
|
|
|
tests.cmi:
|
|
|
|
tests.cmo:
|
|
|
|
tests$(EXT_OBJ):
|
2008-02-08 17:41:07 -07:00
|
|
|
|
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)
|
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, .))
|