mirror of
https://github.com/phoboslab/wipeout-rewrite
synced 2024-11-16 07:47:57 +01:00
Merge pull request #134 from lordfeck/UseSdl2ConfigIncludePath
Use "sdl.h" include and sdl-config include path in makefile.
This commit is contained in:
commit
05e9c2d3a1
2 changed files with 2 additions and 1 deletions
1
Makefile
1
Makefile
|
@ -133,6 +133,7 @@ COMMON_SRC = \
|
|||
COMMON_OBJ = $(patsubst %.c, $(BUILD_DIR)/%.o, $(COMMON_SRC))
|
||||
COMMON_DEPS = $(patsubst %.c, $(BUILD_DIR)/%.d, $(COMMON_SRC))
|
||||
|
||||
sdl: C_FLAGS += $(shell sdl2-config --cflags)
|
||||
sdl: $(BUILD_DIR)/src/platform_sdl.o
|
||||
sdl: $(COMMON_OBJ)
|
||||
$(CC) $^ -o $(TARGET_NATIVE) $(L_FLAGS) $(L_FLAGS_SDL)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#include <SDL2/SDL.h>
|
||||
#include "SDL.h"
|
||||
|
||||
#include "platform.h"
|
||||
#include "input.h"
|
||||
|
|
Loading…
Reference in a new issue