From ff69b8a8f2997c794ed4790dd84d2b3657f2f86e Mon Sep 17 00:00:00 2001 From: scratko Date: Sat, 30 Mar 2024 17:12:57 +0300 Subject: Initial commit --- Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..e18ea6e --- /dev/null +++ b/Makefile @@ -0,0 +1,9 @@ +OBJMODULES = rb_tree.o +CC = gcc +CFLAGS = -g -Wall + +%.o: %.c %.h + $(CC) $(CFLAGS) -c $< -o $@ + +rb_tree: rb_tree_main.c $(OBJMODULES) + $(CC) $(CFLAGS) $^ -o $@ -- cgit v1.2.3