diff options
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 | ||
