11 lines
160 B
Makefile
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
|