summaryrefslogtreecommitdiff
path: root/Makefile
blob: 39e9b87a54482da534e7ac0f8c647aabbd5ed427 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
BIN = build/engine
SRC = source/tb_db.c
CC = clang
CFLAGS = -Wall -Wextra -Wpedantic  -Wno-unused-function -g -Werror

$(BIN): $(SRC)
	mkdir -p build
	$(CC) $(CFLAGS) $< -o $@

run:
	$(BIN)

.PHONY: clean
clean:
	rm -rf build