pikuma_graphics_from_scratch/Makefile
2024-04-19 00:02:54 -04:00

11 lines
160 B
Makefile

SRCS = $(shell find ./src -type f -name *.c)
build:
gcc -Wall -std=c99 $(SRCS) -lSDL2 -lm -o renderer
./renderer
run: build
./renderer
clean:
rm renderer