diff options
| author | Thomas Schmucker <ts@its1.de> | 2021-12-29 13:37:57 +0100 |
|---|---|---|
| committer | Thomas Schmucker <ts@its1.de> | 2021-12-29 13:37:57 +0100 |
| commit | 498b794ce5bae04495d916380927e9be23591e49 (patch) | |
| tree | 2f0f4a2eb1a554c890735415c7cb00901136b9cf /makefile | |
| parent | 5e696c74c9649b0e54133d46a3ae92e5ce0632fb (diff) | |
| download | data-structures-498b794ce5bae04495d916380927e9be23591e49.tar.gz data-structures-498b794ce5bae04495d916380927e9be23591e49.tar.bz2 data-structures-498b794ce5bae04495d916380927e9be23591e49.zip | |
feat: implement insertsort
Diffstat (limited to 'makefile')
| -rw-r--r-- | makefile | 7 |
1 files changed, 5 insertions, 2 deletions
| @@ -2,7 +2,7 @@ | |||
| 2 | 2 | ||
| 3 | CFLAGS=-Wall -Werror -Wextra -Wno-unused-function -Wsign-conversion -pedantic -std=c99 -g | 3 | CFLAGS=-Wall -Werror -Wextra -Wno-unused-function -Wsign-conversion -pedantic -std=c99 -g |
| 4 | 4 | ||
| 5 | all: list list-tail-node dlist stack stack2 queue ringbuff hashtab tree avl heap quicksort allocator rb deque arraylist | 5 | all: list list-tail-node dlist stack stack2 queue ringbuff hashtab tree avl heap quicksort allocator rb deque arraylist insertsort |
| 6 | 6 | ||
| 7 | list: list.c util.h | 7 | list: list.c util.h |
| 8 | cc $(CFLAGS) $< -o $@ | 8 | cc $(CFLAGS) $< -o $@ |
| @@ -52,6 +52,9 @@ allocator: allocator.c allocator.h | |||
| 52 | arraylist: arraylist.c util.h | 52 | arraylist: arraylist.c util.h |
| 53 | cc $(CFLAGS) $< -o $@ | 53 | cc $(CFLAGS) $< -o $@ |
| 54 | 54 | ||
| 55 | insertsort: insertsort.c util.h | ||
| 56 | cc $(CFLAGS) $< -o $@ | ||
| 57 | |||
| 55 | clean: | 58 | clean: |
| 56 | rm -f list list-tail-node dlist stack stack2 queue ringbuff hashtab tree avl heap quicksort allocator rb deque arraylist | 59 | rm -f list list-tail-node dlist stack stack2 queue ringbuff hashtab tree avl heap quicksort allocator rb deque arraylist insertsort |
| 57 | 60 | ||
