things/img/scrall/Makefile

13 lines
243 B
Makefile

CFLAGS += -Wall -Wextra `exec pkg-config --cflags raylib xcb xcb-composite`
LDFLAGS := -lm `pkg-config --libs raylib xcb xcb-composite`
scrall: main.c
$(CC) $(CFLAGS) main.c $(LDFLAGS) -o scrall
clean:
$(RM) scrall
run: scrall
./scrall