Move device to a separate build target
This commit is contained in:
1 parent
4866226840
commit
56eaee9d08
7 files changed
+12
-5
No files matched your search
+1
-1
@@ -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"],
|
||||
)
|
||||
+1
-1
@@ -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