things/sim/cellular/Makefile

13 lines
217 B
Makefile
Executable File

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