Makefile 265 B

123456789
  1. CFLAGS+=`sdl2-config --cflags --libs` -std=c89 -Wall -Wextra -pedantic -Wno-unused-function -O0 -g -fvisibility=hidden `pkg-config SDL2_ttf --cflags --libs`
  2. .PHONY: clean
  3. demo: main.c ../nuklear_rawfb.h
  4. $(CC) -o demo *.c $(CFLAGS) -lrt -lm
  5. clean:
  6. $(RM) demo