forked from kitao/pyxel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
53 lines (49 loc) · 997 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
49
50
51
52
53
#
# [How to build]
#
# Prerequisites for Windows:
# - Build Tools for Visual Studio 2019
# - Cygwin64 with make and zip added
# - Inno Setup
#
# Prerequisites for Linux:
# - SDL2 package (libsdl2-dev for Ubuntu)
#
# Common prerequisites:
# - cmake
# - rust and cargo
# - python3 and pip3 (or python and pip for Windows)
# - pyoxidizer
#
# Format and lint code:
# make format
#
# Debug build:
# make clean all
#
# Debug build and test:
# make clean test
#
# Release build:
# make clean all RELEASE=1
#
# Release build and test:
# make clean test RELEASE=1
#
# Install Python pakcage after release build:
# pip3 install .
#
# Make Python wheel after release build:
# make wheel
#
# Make Pyxel distributions using Python wheel:
# make dist
#
# Make Pyxel installer using Windows package:
# Build native/setup.iss with Inno Setup
#
FORWARD_DIR = native
.PHONY: forward $(MAKECMDGOALS)
forward:
@$(MAKE) -C $(FORWARD_DIR) $(MAKECMDGOALS)
$(MAKECMDGOALS): forward