mirror of
https://github.com/izzy2lost/wipeout-rewrite.git
synced 2026-07-06 00:20:05 -07:00
Use "sdl.h" include and sdl-config include path in build.
This commit is contained in:
@@ -7,7 +7,7 @@ DEBUG ?= false
|
||||
USER_CFLAGS ?=
|
||||
|
||||
L_FLAGS ?= -lm
|
||||
C_FLAGS ?= -Isrc/libs/ -std=gnu99 -Wall -Wno-unused-variable $(USER_CFLAGS)
|
||||
C_FLAGS ?= -Isrc/libs/ -std=gnu99 -Wall -Wno-unused-variable $(USER_CFLAGS) $(shell sdl2-config --cflags)
|
||||
|
||||
ifeq ($(DEBUG), true)
|
||||
C_FLAGS := $(C_FLAGS) -g
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#include <SDL2/SDL.h>
|
||||
#include "SDL.h"
|
||||
|
||||
#include "platform.h"
|
||||
#include "input.h"
|
||||
|
||||
Reference in New Issue
Block a user