Skip to content

Commit

Permalink
build: Add nxdk Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
dracc committed May 14, 2019
1 parent e9db3c0 commit 48f6ba9
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions Makefile.xbox
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
SDL_DIR = $(NXDK_DIR)/lib/sdl/SDL2
SDL_SRCS += $(wildcard $(SDL_DIR)/src/*.c)
SDL_SRCS += $(wildcard $(SDL_DIR)/src/cpuinfo/*.c)
SDL_SRCS += $(wildcard $(SDL_DIR)/src/events/*.c)
SDL_SRCS += $(wildcard $(SDL_DIR)/src/file/*.c)
SDL_SRCS += $(wildcard $(SDL_DIR)/src/render/*.c)
SDL_SRCS += $(wildcard $(SDL_DIR)/src/render/software/*.c)
SDL_SRCS += $(wildcard $(SDL_DIR)/src/stdlib/*.c)
SDL_SRCS += $(wildcard $(SDL_DIR)/src/thread/*.c)
SDL_SRCS += $(wildcard $(SDL_DIR)/src/thread/generic/*.c)
SDL_SRCS += $(wildcard $(SDL_DIR)/src/timer/*.c)
SDL_SRCS += $(wildcard $(SDL_DIR)/src/timer/dummy/*.c)
SDL_SRCS += $(wildcard $(SDL_DIR)/src/video/*.c)
SDL_SRCS += $(wildcard $(SDL_DIR)/src/video/xbox/*.c)
SDL_SRCS += $(wildcard $(SDL_DIR)/src/video/yuv2rgb/*.c)
SDL_SRCS += $(wildcard $(SDL_DIR)/src/libm/*.c)
SDL_SRCS += $(wildcard $(SDL_DIR)/src/atomic/*.c)

SRCS += $(SDL_SRCS)
CFLAGS += -I$(SDL_DIR)/include \
-DXBOX

0 comments on commit 48f6ba9

Please sign in to comment.