-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
114 lines (105 loc) · 2.83 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
###############################################################################
## Hinterlib ##
## ##
## Copyright (C) 2019-2022 Aquefir ##
## Released under BSD-2-Clause ##
###############################################################################
ifeq ($(strip $(AQ)),)
$(error "AQ was not found in your environment. You need to install the Slick Makefiles from github.com/aquefir/slick to continue.")
endif
include $(AQ)/lib/slick/base.mk
# name of project. used in output binary naming
PROJECT := uni
# put a ‘1’ for the desired target types to compile
EXEFILE :=
SOFILE :=
AFILE := 1
# space-separated path list for #includes
# <system> includes
INCLUDES := include
# "local" includes
INCLUDEL := src
# space-separated library name list
LIBS :=
LIBDIRS :=
# ‘3P’ are in-tree 3rd-party dependencies
# 3PLIBDIR is the base directory
# 3PLIBS is the folder names in the base directory for each library
3PLIBDIR :=
3PLIBS :=
# sources
SFILES.GBA := \
src/gbabios.s \
src/memcpy.s \
src/memset.s
CFILES.GBA := \
src/gbahimem.c
CFILES := \
src/arr.c \
src/clarg.c \
src/err.c \
src/evt.c \
src/futils.c \
src/log.c \
src/memory.c \
src/piper.c \
src/random.c \
src/str.c \
src/table.c \
src/utf8.c
PUBHFILES := \
include/mt19937/random.h \
include/uni/types/opt/bound.h \
include/uni/types/opt/common.h \
include/uni/types/opt/complexf.h \
include/uni/types/opt/complexi.h \
include/uni/types/opt/float.h \
include/uni/types/opt/int.h \
include/uni/types/opt/point.h \
include/uni/types/opt/quant.h \
include/uni/types/opt/range.h \
include/uni/types/opt/vecf.h \
include/uni/types/opt/veci.h \
include/uni/types/bound.h \
include/uni/types/complexf.h \
include/uni/types/complexi.h \
include/uni/types/float.h \
include/uni/types/geo.h \
include/uni/types/int.h \
include/uni/types/mathprim.h \
include/uni/types/opt.h \
include/uni/types/options.h \
include/uni/types/point.h \
include/uni/types/quant.h \
include/uni/types/range.h \
include/uni/types/vec.h \
include/uni/types/vecf.h \
include/uni/types/veci.h \
include/uni/arr.h \
include/uni/ascii.h \
include/uni/chkmath.h \
include/uni/clarg.h \
include/uni/decl.h \
include/uni/endian.h \
include/uni/err.h \
include/uni/evt.h \
include/uni/futils.h \
include/uni/log.h \
include/uni/memory.h \
include/uni/piper.h \
include/uni/str.h \
include/uni/table.h \
include/uni/utf8.h \
include/uni/ver.h
PRVHFILES := \
src/arr.h \
src/clarg.h \
src/evt.h \
src/gbabios.h \
src/gbahimem.h \
src/piper.h \
src/str.h \
src/table.h \
src/utf8.h
# this defines all our usual targets
include $(AQ)/lib/slick/targets.mk