things/vis/follow-mouse/Makefile

13 lines
237 B
Makefile

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