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 | 5 | all: list list-tail-node dlist stack stack2 queue ringbuff hashtab tree avl heap quicksort allocator rb deque arraylist |
| 6 | 6 | ||
| 7 | list: list.c util.h | 7 | list: list.c util.h |
| 8 | cc $(CFLAGS) $< -o $@ | 8 | cc $(CFLAGS) $< -o $@ |
| @@ -49,6 +49,9 @@ quicksort: quicksort.c util.h | |||
| 49 | allocator: allocator.c allocator.h | 49 | allocator: allocator.c allocator.h |
| 50 | cc $(CFLAGS) $< -o $@ | 50 | cc $(CFLAGS) $< -o $@ |
| 51 | 51 | ||
| 52 | arraylist: arraylist.c | ||
| 53 | cc $(CFLAGS) $< -o $@ | ||
| 54 | |||
| 52 | clean: | 55 | clean: |
| 53 | rm -f list list-tail-node dlist stack stack2 queue ringbuff hashtab tree avl heap quicksort allocator rb deque | 56 | rm -f list list-tail-node dlist stack stack2 queue ringbuff hashtab tree avl heap quicksort allocator rb deque arraylist |
| 54 | 57 | ||
