diff options
| author | Thomas Schmucker <ts@its1.de> | 2022-01-01 12:27:32 +0100 |
|---|---|---|
| committer | Thomas Schmucker <ts@its1.de> | 2022-01-01 12:27:32 +0100 |
| commit | 20ad66e839dbc632b844f1c03137efa1a457f5fd (patch) | |
| tree | ed06b6c36f174249f7a9d0793baac0f07c1c8644 /makefile | |
| parent | 498b794ce5bae04495d916380927e9be23591e49 (diff) | |
| download | data-structures-20ad66e839dbc632b844f1c03137efa1a457f5fd.tar.gz data-structures-20ad66e839dbc632b844f1c03137efa1a457f5fd.tar.bz2 data-structures-20ad66e839dbc632b844f1c03137efa1a457f5fd.zip | |
feat: implement shellsort
Diffstat (limited to 'makefile')
| -rw-r--r-- | makefile | 8 |
1 files changed, 6 insertions, 2 deletions
| @@ -1,8 +1,9 @@ | |||
| 1 | .PHONY: all clean | 1 | .PHONY: all clean |
| 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 | BINS=list list-tail-node dlist stack stack2 queue ringbuff hashtab tree avl heap quicksort allocator rb deque arraylist insertsort shellsort | ||
| 4 | 5 | ||
| 5 | all: list list-tail-node dlist stack stack2 queue ringbuff hashtab tree avl heap quicksort allocator rb deque arraylist insertsort | 6 | all: $(BINS) |
| 6 | 7 | ||
| 7 | list: list.c util.h | 8 | list: list.c util.h |
| 8 | cc $(CFLAGS) $< -o $@ | 9 | cc $(CFLAGS) $< -o $@ |
| @@ -55,6 +56,9 @@ arraylist: arraylist.c util.h | |||
| 55 | insertsort: insertsort.c util.h | 56 | insertsort: insertsort.c util.h |
| 56 | cc $(CFLAGS) $< -o $@ | 57 | cc $(CFLAGS) $< -o $@ |
| 57 | 58 | ||
| 59 | shellsort: shellsort.c util.h | ||
| 60 | cc $(CFLAGS) $< -o $@ | ||
| 61 | |||
| 58 | clean: | 62 | clean: |
| 59 | rm -f list list-tail-node dlist stack stack2 queue ringbuff hashtab tree avl heap quicksort allocator rb deque arraylist insertsort | 63 | rm -f $(BINS) |
| 60 | 64 | ||
