forked from minetest/minetest
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Makefile
31 lines (21 loc) · 579 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
.PHONY: all deps repos sdl2 package zmqpp
SDL2_CMAKE_FILE := lib/SDL/build/lib/cmake/SDL2/sdl2-config.cmake
ZMQPP_LIB_FILE := lib/zmqpp/build/max-g++/libzmqpp.a
all: package
deps:
# Install dependencies
util/minetester/install_deps.sh
repos:
# Init all submodules
git submodule update --init --recursive
$(SDL2_CMAKE_FILE): repos
# compile sdl2
util/minetester/build_sdl2.sh
sdl2: $(SDL2_CMAKE_FILE)
$(ZMQPP_LIB_FILE): repos
#compile zmqpp
util/minetester/build_zmqpp.sh
zmqpp: $(ZMQPP_LIB_FILE)
minetest:
util/minetester/build_minetest.sh
package: deps repos