mirror of
https://github.com/phoboslab/wipeout-rewrite
synced 2024-11-16 07:47:57 +01:00
Add USER_CFLAGS to allow specifying additional defines; see #53
This commit is contained in:
parent
108cfac9dc
commit
78f452decf
1 changed files with 2 additions and 1 deletions
3
Makefile
3
Makefile
|
@ -5,9 +5,10 @@ UNAME_O := $(shell uname -o)
|
|||
RENDERER ?= GL
|
||||
USE_GLX ?= false
|
||||
DEBUG ?= false
|
||||
USER_CFLAGS ?=
|
||||
|
||||
L_FLAGS ?= -lm
|
||||
C_FLAGS ?= -std=gnu99 -Wall -Wno-unused-variable
|
||||
C_FLAGS ?= -std=gnu99 -Wall -Wno-unused-variable $(USER_CFLAGS)
|
||||
|
||||
ifeq ($(DEBUG), true)
|
||||
C_FLAGS := $(C_FLAGS) -g
|
||||
|
|
Loading…
Reference in a new issue