Squashed 'deps/ox/' content from commit a5166e0

git-subtree-dir: deps/ox
git-subtree-split: a5166e03bbaea2f200cfc730c69579c3d50ae2a7
This commit is contained in:
2017-05-09 01:06:23 -05:00
commit b1e548b96a
60 changed files with 5130 additions and 0 deletions

32
build/Makefile Normal file
View File

@ -0,0 +1,32 @@
ifneq ($(shell which gmake),)
MAKE=gmake -j
else
MAKE=make
endif
all: gba_build native_build native_debug_build windows_release windows_debug
gba_build:
@if [ -d gba-release ]; then \
${MAKE} -C gba-release ${ARGS}; \
fi
native_build:
@if [ -d ${HOST_ENV}-release ]; then \
${MAKE} -C ${HOST_ENV}-release ${ARGS}; \
fi
native_debug_build:
@if [ -d ${HOST_ENV}-debug ]; then \
${MAKE} -C ${HOST_ENV}-debug ${ARGS}; \
fi
windows_release:
@if [ -d windows-release ]; then \
${MAKE} -C windows-release ${ARGS}; \
fi
windows_debug:
@if [ -d windows-debug ]; then \
${MAKE} -C windows-debug ${ARGS}; \
fi