mirror of
https://github.com/izzy2lost/wipeout-rewrite.git
synced 2026-07-06 00:20:05 -07:00
Add USER_CFLAGS to allow specifying additional defines; see #53
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user