nostalgia/build/Makefile
2016-12-23 18:06:27 -06:00

29 lines
573 B
Makefile

all: gba_build native_build native_debug_build windows_release windows_debug
MAKE=make -j
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