]> mj.ucw.cz Git - moe.git/blob - Makefile
Linked mop/ to the build system.
[moe.git] / Makefile
1 # Makefile for MO-Eval
2 # (c) 2008 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 include $(s)/build/Maketop
17
18 # Include makefiles of libraries we wish to use
19 ifdef CONFIG_UCW_LIBS
20 include $(s)/lib/Makefile
21 include $(s)/sherlock/Makefile
22 # Disable built-in tests of these libraries
23 TESTS=
24 endif
25
26 include $(s)/box/Makefile
27 include $(s)/utils/Makefile
28 include $(s)/eval/Makefile
29 include $(s)/judge/Makefile
30
31 ifdef CONFIG_SUBMIT
32 include $(s)/submit/Makefile
33 endif
34
35 ifdef CONFIG_MOP
36 include $(s)/mop/Makefile
37 endif
38
39 # And finally the default rules of the build system
40 include $(s)/build/Makebottom