-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathMakefile
More file actions
57 lines (46 loc) · 1.84 KB
/
Copy pathMakefile
File metadata and controls
57 lines (46 loc) · 1.84 KB
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
49
50
51
52
53
54
55
56
57
#########################################################################################
#
# This file is apart of Rit; a free and open sourced rhythm game made with LÖVE.
#
# Copyright (C) 2022 GuglioIsStupid
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
#########################################################################################
all: win32 win64 macos
lovefile:
rm -rf build/lovefile
mkdir -p build/lovefile
cd love; zip -r -9 ../build/lovefile/Rit.love .
win32: lovefile
rm -rf build/win32
mkdir -p build/win32
cp -r build/lovefile/Rit.love build/win32/game.love
cp -r resources/win32/* build/win32
cp -r resources/win32/discord-rpc.dll build/win32
cat resources/win32/love.exe build/win32/game.love > build/win32/love.exe
rm build/win32/game.love
win64: lovefile
rm -rf build/win64
mkdir -p build/win64
cp -r build/lovefile/Rit.love build/win64/game.love
cp -r resources/win64/* build/win64
cp -r resources/win64/discord-rpc.dll build/win64
cat resources/win64/love.exe build/win64/game.love > build/win64/love.exe
rm build/win64/game.love
macos: lovefile
rm -rf build/macos
mkdir -p build/macos/Rit.app
cp -r resources/macos/love.app/. build/macos/Rit.app
cp -r build/lovefile/Rit.love build/macos/Rit.app/Contents/Resources/game.love