From 498b794ce5bae04495d916380927e9be23591e49 Mon Sep 17 00:00:00 2001 From: Thomas Schmucker Date: Wed, 29 Dec 2021 13:37:57 +0100 Subject: feat: implement insertsort --- makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'makefile') diff --git a/makefile b/makefile index c83159e..6bbb98a 100644 --- a/makefile +++ b/makefile @@ -2,7 +2,7 @@ CFLAGS=-Wall -Werror -Wextra -Wno-unused-function -Wsign-conversion -pedantic -std=c99 -g -all: list list-tail-node dlist stack stack2 queue ringbuff hashtab tree avl heap quicksort allocator rb deque arraylist +all: list list-tail-node dlist stack stack2 queue ringbuff hashtab tree avl heap quicksort allocator rb deque arraylist insertsort list: list.c util.h cc $(CFLAGS) $< -o $@ @@ -52,6 +52,9 @@ allocator: allocator.c allocator.h arraylist: arraylist.c util.h cc $(CFLAGS) $< -o $@ +insertsort: insertsort.c util.h + cc $(CFLAGS) $< -o $@ + clean: - rm -f list list-tail-node dlist stack stack2 queue ringbuff hashtab tree avl heap quicksort allocator rb deque arraylist + rm -f list list-tail-node dlist stack stack2 queue ringbuff hashtab tree avl heap quicksort allocator rb deque arraylist insertsort -- cgit v1.3