cat mm.ppm | ./iv
Single-file C program (iv.c) using SDL2 to create a window which can draw a picture.
Requires SDL2 development libraries. Compile with:
# Linux (SDL2-dev package installed)
gcc -Wall -Wextra -g -o iv iv.c `sdl2-config --cflags --libs
# Windows (MinGW with SDL2 in path)
gcc iv.c -o iv.exe -lmingw32 -lSDL2main -lSDL2There is no Makefile or other build script -- compile manually.