nostalgia/deps/ox/build/Makefile

27 lines
619 B
Makefile
Raw Normal View History

all: gba_build native_build native_debug_build windows_release windows_debug
gba_build:
@if [ -d gba-release ]; then \
2018-03-09 21:45:46 -06:00
cmake --build gba-release --target ${ARGS}; \
fi
native_build:
@if [ -d ${HOST_ENV}-release ]; then \
2018-03-09 21:45:46 -06:00
cmake --build ${HOST_ENV}-release --target ${ARGS}; \
fi
native_debug_build:
@if [ -d ${HOST_ENV}-debug ]; then \
2018-03-09 21:45:46 -06:00
cmake --build ${HOST_ENV}-debug --target ${ARGS}; \
fi
windows_release:
@if [ -d windows-release ]; then \
2018-03-09 21:45:46 -06:00
cmake --build windows-release --target ${ARGS}; \
fi
windows_debug:
@if [ -d windows-debug ]; then \
2018-03-09 21:45:46 -06:00
cmake --build windows-debug --target ${ARGS}; \
fi