From c9b6b9a5ca082fe7c1b6f58d7713f785a9eb6a5c Mon Sep 17 00:00:00 2001 From: Martial Simon Date: Mon, 15 Sep 2025 01:08:27 +0200 Subject: add: graphs et rushs --- rushs/tinyprintf/heap/Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 rushs/tinyprintf/heap/Makefile (limited to 'rushs/tinyprintf/heap/Makefile') diff --git a/rushs/tinyprintf/heap/Makefile b/rushs/tinyprintf/heap/Makefile new file mode 100644 index 0000000..2ed972b --- /dev/null +++ b/rushs/tinyprintf/heap/Makefile @@ -0,0 +1,14 @@ +CC = gcc +CFLAGS = -Wall -Werror -Wvla -Wextra -std=c99 -pedantic +SRC = add.c del.c print.c pop.c create.c +OBJ = $(SRC:.c=.o) + +.PHONY: library clean + +library: $(OBJ) + ar csr libheap.a $(OBJ) + +$(OBJ): $(SRC) + +clean: + $(RM) libheap.a $(OBJ) -- cgit v1.2.3