-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
executable file
·69 lines (52 loc) · 2.74 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# This file is generated by the update_project.py script.
# Manual edits will be overwritten by the next update.
HEAP_SIZE = 8388208
STACK_SIZE = 61800
PRODUCT = GeckoWorld.pdx
# Locate the SDK
SDK = ${PLAYDATE_SDK_PATH}
ifeq ($(SDK),)
SDK = $(shell egrep '^\s*SDKRoot' ~/.Playdate/config | head -n 1 | cut -c9-)
endif
ifeq ($(SDK),)
$(error SDK path not found; set ENV value PLAYDATE_SDK_PATH)
endif
CSRC = $(wildcard src/*.c) \
$(wildcard taxman-engine/Engine/Actions/*.c) \
$(wildcard taxman-engine/Engine/Audio/*.c) \
$(wildcard taxman-engine/Engine/Components/*.c) \
$(wildcard taxman-engine/Engine/Logic/*.c) \
$(wildcard taxman-engine/Engine/Math/*.c) \
$(wildcard taxman-engine/Engine/Render/*.c) \
$(wildcard taxman-engine/Engine/Resources/*.c) \
$(wildcard taxman-engine/Engine/Scene/*.c) \
$(wildcard taxman-engine/Engine/Strings/*.c) \
$(wildcard taxman-engine/Engine/Tests/*.c) \
$(wildcard taxman-engine/Engine/Utils/*.c) \
$(wildcard taxman-engine/Tools/Components/*.c) \
$(wildcard taxman-engine/Tools/Physics/*.c) \
$(wildcard taxman-engine/Tools/Serialisation/*.c) \
$(wildcard taxman-engine/Tools/Tilemap/*.c) \
$(wildcard game/GameData/*.c) \
$(wildcard game/Objects/*.c) \
$(wildcard game/Scenes/*.c)
######
# IMPORTANT: You must add your source folders to VPATH for make to find them
# ex: VPATH += src1:src2
######
VPATH += src:taxman-engine/Engine/Actions:taxman-engine/Engine/Audio:taxman-engine/Engine/Components:taxman-engine/Engine/Logic:taxman-engine/Engine/Math:taxman-engine/Engine/Render:taxman-engine/Engine/Resources:taxman-engine/Engine/Scene:taxman-engine/Engine/Strings:taxman-engine/Engine/Tests:taxman-engine/Engine/Utils:taxman-engine/Tools/Components:taxman-engine/Tools/Physics:taxman-engine/Tools/Serialisation:taxman-engine/Tools/Tilemap:game/GameData:game/Objects:game/Scenes
# List C source files here
SRC = $(CSRC)
# List all user directories here
UINCDIR = src taxman-engine/Engine/Actions taxman-engine/Engine/Audio taxman-engine/Engine/Components taxman-engine/Engine/Logic taxman-engine/Engine/Math taxman-engine/Engine/Render taxman-engine/Engine/Resources taxman-engine/Engine/Scene taxman-engine/Engine/Strings taxman-engine/Engine/Tests taxman-engine/Engine/Utils taxman-engine/Tools/Components taxman-engine/Tools/Physics taxman-engine/Tools/Serialisation taxman-engine/Tools/Tilemap game/GameData game/Objects game/Scenes
# List user asm files
UASRC =
# List all user C define here, like -D_DEBUG=1
UDEFS =
# Define ASM defines here
UADEFS =
# List the user directory to look for the libraries here
ULIBDIR =
# List all user libraries here
ULIBS =
include $(SDK)/C_API/buildsupport/common.mk