]> mj.ucw.cz Git - eval.git/blob - Makefile
Doc: Note that Isolate has moved
[eval.git] / Makefile
1 # Makefile for Moe
2 # (c) 2008--2012 Martin Mares <mj@ucw.cz>
3
4 VERSION=2.0
5
6 # The default target
7 all:: runtree programs datafiles configs
8
9 # Include configuration
10 s=.
11 -include obj/config.mk
12 obj/config.mk:
13         @echo "You need to run configure first." && false
14
15 ifdef CONFIG_DOC
16 all:: docs
17 endif
18
19 # We will use the libucw build system
20 BUILDSYS=$(s)/build
21 include $(BUILDSYS)/Maketop
22
23 # Include makefiles of libraries we wish to use
24 ifdef CONFIG_UCW_LIBS
25 include $(s)/ucw/Makefile
26 include $(s)/sherlock/Makefile
27 # Disable built-in tests and documentation of these libraries
28 TESTS=
29 DOCS=
30 DOC_INDICES=
31 endif
32
33 include $(s)/box/Makefile
34 include $(s)/isolate/Makefile
35 include $(s)/utils/Makefile
36 include $(s)/eval/Makefile
37 include $(s)/judge/Makefile
38
39 ifdef CONFIG_SUBMIT
40 include $(s)/submit/Makefile
41 endif
42
43 ifdef CONFIG_MOP
44 include $(s)/mop/Makefile
45 endif
46
47 # And finally the default rules of the build system
48 include $(BUILDSYS)/Makebottom