From 1bfa346e4af589f3534a8a4738e8a468a57429a4 Mon Sep 17 00:00:00 2001 From: user Date: Sun, 1 Nov 2026 03:18:22 +0100 Subject: [PATCH] added Makefile --- Makefile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..8a3d4a8 --- /dev/null +++ b/Makefile @@ -0,0 +1,16 @@ +.POSIX: + +NAME = example + +CFLAGS = -Wall -Wextra -Wpedantic -std=c90 + +OBJ = $(NAME).o + +.PHONY: all +all: $(NAME) + +.PHONY: clean +clean: + rm -f $(NAME) $(OBJ) + +$(NAME): $(OBJ)