From 56ebfa3f4b0d7a80090b344b294252d2be152bb0 Mon Sep 17 00:00:00 2001 From: nasr Date: Mon, 2 Mar 2026 22:43:16 +0000 Subject: feature(main): base library impelmentation --- Makefile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..376f3b8 --- /dev/null +++ b/Makefile @@ -0,0 +1,16 @@ +BIN = build/engine +SRC = source/engine/engine_entry.c +CC = clang +CFLAGS = -Wall -Wextra -Wfloat-equal -Wswitch-default -Wswitch-enum \ + -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-unused-function -g -Werror + +$(BIN): $(SRC) + mkdir -p build + $(CC) $(CFLAGS) $< -o $@ + +run: + $(BIN) + +.PHONY: clean +clean: + rm -rf build -- cgit v1.3