Nuklear/demo/sdl2surface_rawfb/Makefile
Martijn Versteegh b5faf09c4f Add a rawfb backend which uses SDL_Surface's for output.
The other sdl  demo backends all use OpenGL, which defeats the
purpose of using SDL_Renderer for portabilty.
This is maybe not as good as a full SDL_Renderer backend, but it
is more flexible. For most applications software rendering of the
UI is more than fast enough.
2020-10-07 11:18:20 +02:00

10 lines
239 B
Makefile

CFLAGS=`sdl2-config --cflags --libs` -std=c11 -Wall -O0 -g -fvisibility=hidden -Wno-unused `pkg-config SDL2_ttf --cflags --libs`
.PHONY: clean
demo: main.c sdl2surface_rawfb.h
$(CC) -o demo *.c $(CFLAGS) -lrt -lm
clean:
$(RM) demo