]> mj.ucw.cz Git - eval.git/blob - Makefile
bd1c58c6f45159b503aebd3f3b4f1447637d2bd3
[eval.git] / Makefile
1 # Makefile for Moe
2 # (c) 2008--2012 Martin Mares <mj@ucw.cz>
3
4 VERSION=1.0.99-20080220
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 # We will use the libucw build system
16 BUILDSYS=$(s)/build
17 include $(BUILDSYS)/Maketop
18
19 # Include makefiles of libraries we wish to use
20 ifdef CONFIG_UCW_LIBS
21 include $(s)/ucw/Makefile
22 include $(s)/sherlock/Makefile
23 # Disable built-in tests and documentation of these libraries
24 TESTS=
25 DOCS=
26 DOC_INDICES=
27 endif
28
29 include $(s)/box/Makefile
30 include $(s)/isolate/Makefile
31 include $(s)/utils/Makefile
32 include $(s)/eval/Makefile
33 include $(s)/judge/Makefile
34
35 ifdef CONFIG_SUBMIT
36 include $(s)/submit/Makefile
37 endif
38
39 ifdef CONFIG_MOP
40 include $(s)/mop/Makefile
41 endif
42
43 # And finally the default rules of the build system
44 include $(BUILDSYS)/Makebottom