mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
Makefile: Only pass APPNAME and APPBASENAME to the preprocessor if a value for them was passed in.
Keeping compiler invocation clutter to a minimum is good. git-svn-id: https://svn.eduke32.com/eduke32@6051 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
382404f813
commit
05a3b230aa
1 changed files with 8 additions and 3 deletions
|
@ -170,8 +170,8 @@ APPLE_FRAMEWORKS ?=/Library/Frameworks
|
|||
# NOASM - disables the use of inline assembly pragmas
|
||||
# LINKED_GTK - enables compile-time linkage to GTK
|
||||
#
|
||||
APPNAME ?= EDuke32
|
||||
APPBASENAME ?= eduke32
|
||||
APPNAME=
|
||||
APPBASENAME=
|
||||
STANDALONE ?= 0
|
||||
POLYMER = 1
|
||||
USE_OPENGL = 1
|
||||
|
@ -681,7 +681,12 @@ ifneq (0,$(STANDALONE))
|
|||
COMPILERFLAGS+= -DEDUKE32_STANDALONE
|
||||
endif
|
||||
|
||||
COMPILERFLAGS+= -DAPPNAME=\"$(APPNAME)\" -DAPPBASENAME=\"$(APPBASENAME)\"
|
||||
ifneq (,$(APPNAME))
|
||||
COMPILERFLAGS+= -DAPPNAME=\"$(APPNAME)\"
|
||||
endif
|
||||
ifneq (,$(APPBASENAME))
|
||||
COMPILERFLAGS+= -DAPPBASENAME=\"$(APPBASENAME)\"
|
||||
endif
|
||||
|
||||
# may be overridden
|
||||
EXESUFFIX=
|
||||
|
|
Loading…
Reference in a new issue