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