mupen64plus / mupen64plus-video-rice

Video plugin for the Mupen64Plus v2.0 project, using OpenGL. This plugin is based on the RiceVideoLinux plugin from earlier versions of Mupen64Plus.
31 stars 40 forks source link

build: Allow out of tree builds. #96

Closed orbea closed 3 years ago

orbea commented 3 years ago

This allows building the project out of tree.

Example:

mkdir /tmp/build
cd /tmp/build
make install -f /path/to/mupen64plus-video-rice/projects/unix/Makefile \
  SRCDIR=/path/to/mupen64plus-video-rice/src

See PR https://github.com/mupen64plus/mupen64plus-core/pull/811 for reference.

Also fixes a case of using $(SRCDIR) before its set.