-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
makefile
34 lines (27 loc) · 1.04 KB
/
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
.PHONY: build
build:
mkdir -p build
sed 's/c++14/c++17/g' 3p/umk/CLANG.bm >> 3p/umk/CLANG_CPP17.bm
3p/umk/umk ./,3p/uppsrc Bobcat 3p/umk/CLANG_CPP17.bm -brvh +GUI,SHARED build/Bobcat
mv build/Bobcat build/bobcat
build-web:
mkdir -p build
sed 's/c++14/c++17/g' 3p/umk/CLANG.bm >> 3p/umk/CLANG_CPP17.bm
3p/umk/umk ./,3p/uppsrc Bobcat 3p/umk/CLANG_CPP17.bm -brvh +WEBGUI,SHARED build/Bobcat
mv build/Bobcat build/bobcat
build-headless:
mkdir -p build
sed 's/c++14/c++17/g' 3p/umk/CLANG.bm >> 3p/umk/CLANG_CPP17.bm
3p/umk/umk ./,3p/uppsrc Bobcat 3p/umk/CLANG_CPP17.bm -brvh +SDLGUI,SHARED build/Bobcat
mv build/Bobcat build/bobcat
download:
mkdir -p 3p/download
wget https://github.com/ultimatepp/ultimatepp/releases/download/2023.2/uppsrc-17045.tar.gz -P 3p/download
wget https://github.com/ultimatepp/ultimatepp/releases/download/2023.2/umk-17045-linux-x86-64.tar.gz -P 3p/download
tar -xf 3p/download/uppsrc-17045.tar.gz -C 3p
tar -xf 3p/download/umk-17045-linux-x86-64.tar.gz -C 3p
run:
build/bobcat
clean:
rm -rf build
rm -rf 3p