pikuma_graphics_from_scratch/Makefile

13 lines
167 B
Makefile
Raw Normal View History

2024-04-12 04:42:16 +00:00
SRCS = $(shell find ./src -type f -name *.c)
build:
gcc -Wall -std=c99 $(SRCS) -lSDL2 -o renderer
run: build
./renderer
clean:
rm renderer
all: clean build run