Skip to content

A super-simple Makefile-based fork of portmidi, targeting typical Linux build tools

Notifications You must be signed in to change notification settings

akjmicro/portmidi-linux

Repository files navigation

Portmidi (isolated simple Linux build)

Perhaps you've had a project where you wanted to simply build Portmidi for linux, just like I did.

Maybe you wanted a docker container that needed portmidi, perhaps a small container, but noticed that the busybox-gcc containers didn't seem to have cmake in their package-manager target list, which, unfortunately, portmidi officially depends on to build.

So, being crazy, you decide to bypass cmake and make a simple Makefile build of portmidi using clues derived from what cmake actually does via the compiler by putting cmake into verbose-output mode.

Well, maybe this helps you, or maybe I'm the only fool needing this.

Either way, using this is simple:

make clean
make
sudo make install

By default, the portmidi library will end up in /usr/local/lib, and the headers in /usr/local/include.

You can change this by editing PREFIX in the Makefile.

About

A super-simple Makefile-based fork of portmidi, targeting typical Linux build tools

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published