Commit f7dff629 authored by Jordon Moss's avatar Jordon Moss
Browse files

Makefile: Output to different object folders depending on platform and architecture.

parent bf0ff6cf
......@@ -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
......
......@@ -23,6 +23,7 @@ o := o
### Directories
source := source
obj := obj
override obj := $(obj)/$(call lowercase,$(PLATFORM))-$(IMPLICIT_ARCH)
### Functions
define parent
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment