mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-22 02:00:11 +00:00
Makefile: add EXEDIR to override bin directory
This commit is contained in:
parent
607fe240bb
commit
5be854683e
1 changed files with 4 additions and 4 deletions
|
|
@ -243,17 +243,17 @@ endif
|
|||
objects:=$(addprefix $(objdir)/,$(objects))
|
||||
|
||||
ifdef DEBUGMODE
|
||||
bin:=../bin/debug
|
||||
EXEDIR?=../bin/debug
|
||||
else
|
||||
bin:=../bin
|
||||
EXEDIR?=../bin
|
||||
endif
|
||||
|
||||
# default EXENAME (usually set by platform)
|
||||
EXENAME?=$(exe)
|
||||
DBGNAME?=$(EXENAME).debug
|
||||
|
||||
exe:=$(bin)/$(EXENAME)
|
||||
dbg:=$(bin)/$(DBGNAME)
|
||||
exe:=$(EXEDIR)/$(EXENAME)
|
||||
dbg:=$(EXEDIR)/$(DBGNAME)
|
||||
|
||||
build_done==== Build is done, look for \
|
||||
$(<F) at $(abspath $(<D)) ===
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue