Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jordon Moss
EDuke32-CSRefactor
Commits
f7dff629
Commit
f7dff629
authored
Jun 07, 2020
by
Jordon Moss
Browse files
Makefile: Output to different object folders depending on platform and architecture.
parent
bf0ff6cf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Common.mak
View file @
f7dff629
...
...
@@ -14,6 +14,8 @@ override comma := ,
override paren_open
:
= (
override paren_close
:
= )
##### Useful calls
lowercase
=
$(
subst
A,a,
$(
subst
B,b,
$(
subst
C,c,
$(
subst
D,d,
$(
subst
E,e,
$(
subst
F,f,
$(
subst
G,g,
$(
subst
H,h,
$(
subst
I,i,
$(
subst
J,j,
$(
subst
K,k,
$(
subst
L,l,
$(
subst
M,m,
$(
subst
N,n,
$(
subst
O,o,
$(
subst
P,p,
$(
subst
Q,q,
$(
subst
R,r,
$(
subst
S,s,
$(
subst
T,t,
$(
subst
U,u,
$(
subst
V,v,
$(
subst
W,w,
$(
subst
X,x,
$(
subst
Y,y,
$(
subst
Z,z,
$1
))))))))))))))))))))))))))
##### Detect platform
...
...
GNUmakefile
View file @
f7dff629
...
...
@@ -23,6 +23,7 @@ o := o
### Directories
source
:=
source
obj
:=
obj
override obj
:
= $(obj)/$(call lowercase
,
$(PLATFORM))-$(IMPLICIT_ARCH)
### Functions
define
parent
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment