mirror of
https://github.com/phoboslab/wipeout-rewrite
synced 2024-12-25 09:59:02 +01:00
Use "sdl.h" include and sdl-config include path in build.
This commit is contained in:
parent
a372b51f59
commit
799d2d6bb1
2 changed files with 2 additions and 2 deletions
2
Makefile
2
Makefile
|
@ -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,4 +1,4 @@
|
|||
#include <SDL2/SDL.h>
|
||||
#include "SDL.h"
|
||||
|
||||
#include "platform.h"
|
||||
#include "input.h"
|
||||
|
|
Loading…
Reference in a new issue