summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authornasr <nsrddyn@gmail.com>2026-03-02 22:43:16 +0000
committernasr <nsrddyn@gmail.com>2026-03-02 22:43:16 +0000
commit56ebfa3f4b0d7a80090b344b294252d2be152bb0 (patch)
tree9d12900a2870dde05e7ce6581104dc2b3070dbe1 /Makefile
parent9053e4a0a20f0c0338aa4c5d9f9c0520184bcad7 (diff)
feature(main): base library impelmentation
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