things/vis/follow-mouse/Makefile

13 lines
237 B
Makefile
Raw Permalink Normal View History

2024-05-30 12:28:06 +03:00
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