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