13 lines
167 B
Makefile
13 lines
167 B
Makefile
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
|