]> mj.ucw.cz Git - moe.git/blob - Makefile
Config parser complete, but completely untested.
[moe.git] / Makefile
1 # Makefile for MO-Eval
2 # (c) 2008--2009 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 of these libraries
24 TESTS=
25 endif
26
27 include $(s)/box/Makefile
28 include $(s)/utils/Makefile
29 include $(s)/eval/Makefile
30 include $(s)/judge/Makefile
31
32 ifdef CONFIG_SUBMIT
33 include $(s)/submit/Makefile
34 endif
35
36 ifdef CONFIG_MOP
37 include $(s)/mop/Makefile
38 endif
39
40 # And finally the default rules of the build system
41 include $(BUILDSYS)/Makebottom