diff options
Diffstat (limited to 'graphs/piscine/heap/Makefile')
| -rw-r--r-- | graphs/piscine/heap/Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/graphs/piscine/heap/Makefile b/graphs/piscine/heap/Makefile new file mode 100644 index 0000000..2ed972b --- /dev/null +++ b/graphs/piscine/heap/Makefile @@ -0,0 +1,14 @@ +CC = gcc +CFLAGS = -Wall -Werror -Wvla -Wextra -std=c99 -pedantic +SRC = add.c del.c print.c pop.c create.c +OBJ = $(SRC:.c=.o) + +.PHONY: library clean + +library: $(OBJ) + ar csr libheap.a $(OBJ) + +$(OBJ): $(SRC) + +clean: + $(RM) libheap.a $(OBJ) |
