Move device to a separate build target
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
cc_binary(
|
||||
name = "sdl_host",
|
||||
srcs = glob(["*.c", "*.h"]),
|
||||
deps = ["//game:game", "//sdl:sdl"],
|
||||
deps = ["//device:device", "//game:game", "//sdl:sdl"],
|
||||
)
|
@ -4,8 +4,8 @@
|
||||
// don't use sdl's redefinition of main
|
||||
#define SDL_MAIN_HANDLED
|
||||
#include "sdl/include/SDL.h"
|
||||
#include "device/device.h"
|
||||
#include "game/game.h"
|
||||
#include "game/device.h"
|
||||
|
||||
void sdl_host_suggest_dimensions(uint32_t* window_w, uint32_t* window_h);
|
||||
void sdl_host_loop();
|
||||
|
Reference in New Issue
Block a user