forked from OpenKore/openkore
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
29 lines (22 loc) · 836 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
.PHONY: all clean dist bindist test
# NOTE TO DEVELOPERS:
# We use the SCons build system (http://www.scons.org/). This makefile is
# just a wrapper around it.
#
# The real build system definitions are in the file SConstruct. If you need
# to change anything, edit SConstruct (or SConscript in the subfolders).
#
# If you experience any build problems, read this web page:
# http://wiki.openkore.com/index.php/How_to_run_OpenKore
all:
@python src/scons-local-2.0.1/scons.py || echo -e "\e[1;31mCompilation failed. Please read http://wiki.openkore.com/index.php/How_to_run_OpenKore for help.\e[0m"
clean:
python src/scons-local-2.0.1/scons.py -c
dist:
bash makedist.sh
bindist:
bash makedist.sh --bin
test:
perl openkore.pl --control=../control --tables=../tables --fields=../fields $$ARGS
doc:
cd src/doc && ./createdoc.pl