summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..376f3b8
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,16 @@
1BIN = build/engine
2SRC = source/engine/engine_entry.c
3CC = clang
4CFLAGS = -Wall -Wextra -Wfloat-equal -Wswitch-default -Wswitch-enum \
5 -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-unused-function -g -Werror
6
7$(BIN): $(SRC)
8 mkdir -p build
9 $(CC) $(CFLAGS) $< -o $@
10
11run:
12 $(BIN)
13
14.PHONY: clean
15clean:
16 rm -rf build