mirror of
https://github.com/izzy2lost/wipeout-rewrite.git
synced 2026-07-06 00:20:05 -07:00
Merge pull request #134 from lordfeck/UseSdl2ConfigIncludePath
Use "sdl.h" include and sdl-config include path in makefile.
This commit is contained in:
@@ -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
-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