diff options
| author | Thomas Schmucker <ts@its1.de> | 2022-01-01 13:42:26 +0100 |
|---|---|---|
| committer | Thomas Schmucker <ts@its1.de> | 2022-01-01 13:42:26 +0100 |
| commit | e5442c9cb145f2aba28b1ec84389922c6de6bced (patch) | |
| tree | af183a6b8f7645b7b2ad7f7d58b51f903b3a55d2 /makefile | |
| parent | 214f0923ba2981649f14ec3761662332df446d9d (diff) | |
| parent | 20ad66e839dbc632b844f1c03137efa1a457f5fd (diff) | |
| download | data-structures-e5442c9cb145f2aba28b1ec84389922c6de6bced.tar.gz data-structures-e5442c9cb145f2aba28b1ec84389922c6de6bced.tar.bz2 data-structures-e5442c9cb145f2aba28b1ec84389922c6de6bced.zip | |
Merge branch 'feat/implement-new-sorting-algorithms'
Diffstat (limited to 'makefile')
| -rw-r--r-- | makefile | 11 |
1 files changed, 9 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 | 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 $@ |
| @@ -52,6 +53,12 @@ allocator: allocator.c allocator.h | |||
| 52 | arraylist: arraylist.c util.h | 53 | arraylist: arraylist.c util.h |
| 53 | cc $(CFLAGS) $< -o $@ | 54 | cc $(CFLAGS) $< -o $@ |
| 54 | 55 | ||
| 56 | insertsort: insertsort.c util.h | ||
| 57 | cc $(CFLAGS) $< -o $@ | ||
| 58 | |||
| 59 | shellsort: shellsort.c util.h | ||
| 60 | cc $(CFLAGS) $< -o $@ | ||
| 61 | |||
| 55 | clean: | 62 | clean: |
| 56 | rm -f list list-tail-node dlist stack stack2 queue ringbuff hashtab tree avl heap quicksort allocator rb deque arraylist | 63 | rm -f $(BINS) |
| 57 | 64 | ||
