all : rawdraw ogltest #for X11 consider: xorg-dev #for X11, you will need: libx-dev #for full screen you'll need: libxinerama-dev libxext-dev #for OGL You'll need: mesa-common-dev libglu1-mesa-dev #-DCNFGRASTERIZER # and #-CNFGOGL # are incompatible. MINGW32:=/usr/bin/i686-w64-mingw32- rawdraw.exe : rawdraw.c $(MINGW32)gcc -m32 -o $@ $^ -lgdi32 rawdraw_egl : rawdraw.c gcc -o $@ $^ -lMali -lpthread -lm -O3 rawdraw : rawdraw.c gcc -o $@ $^ -lX11 -lm -lpthread -lXinerama -lXext -lGL -g rawdraw_ogl : rawdraw.c gcc -o $@ $^ -lX11 -lm -lpthread -lXinerama -lXext -lGL -g -DCNFGOGL osdtest : osdtest.c CNFG.c gcc -o $@ $^ -lX11 -lm -lpthread -lXinerama -lXext -DHAS_XINERAMA -DHAS_XSHAPE vulkantest : rawdraw.c CNFG.c gcc -o $@ $^ -lX11 -lpthread -lm -O3 -lvulkan rawdraw_mac : rawdraw.c CNFG.c gcc -o $@ $^ -x objective-c -framework Cocoa -framework OpenGL -lm -lpthread -DCNFGRASTERIZER rawdraw_mac_soft : rawdraw.c CNFG.c gcc -o $@ $^ -x objective-c -framework Cocoa -lm -lpthread rawdraw_mac_cg : rawdraw.c CNFG.c gcc -o $@ $^ -x objective-c -framework Cocoa -framework CoreGraphics -framework QuartzCore -lm -lpthread rawdraw_mac_ogl : rawdraw.c CNFG.c gcc -o $@ $^ -x objective-c -framework Cocoa -framework OpenGL -lm -lpthread -DCNFGRASTERIZER ogltest : ogltest.c CNFG.c gcc -o $@ $^ -lX11 -lXinerama -lGL -DCNFGOGL ogltest.exe : ogltest.c CNFG.c $(MINGW32)gcc -o $@ $^ -lgdi32 -lkernel32 -lopengl32 -DCNFGOGL clean : rm -rf *.o *~ rawdraw.exe rawdraw rawdraw_ogl rawdraw_mac rawdraw_mac_soft rawdraw_mac_cg rawdraw_mac_ogl ogltest ogltest.exe rawdraw_egl