From 9b01c6d143b14bc040f4ca7746cf926a4913cf92 Mon Sep 17 00:00:00 2001 From: phfr24 Date: Sun, 2 Nov 2025 14:48:05 -0300 Subject: [PATCH 1/1] add Makefile --- Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..9c4db25 --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +SRC_DIR := . +PROGRAMS := prototype +CC := gcc +CFLAGS := -Wall -Wextra -Werror -I. + +build: $(PROGRAMS) + +format: + find $(SRC_DIR) -iname '*.[hc]' | xargs clang-format -i --style=GNU + +clean: + rm -rf $(PROGRAMS) *.o + +.PHONY: build format clean -- 2.54.0