From 23ad79e8b41c25bb4992d103d29a17612a52e351 Mon Sep 17 00:00:00 2001 From: Charles Date: Sun, 21 Jul 2019 15:26:32 +0200 Subject: c10 done, c11 on going, rush02 probably finished, bsq start --- rush02/ex00/Makefile | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 rush02/ex00/Makefile (limited to 'rush02/ex00/Makefile') diff --git a/rush02/ex00/Makefile b/rush02/ex00/Makefile new file mode 100644 index 0000000..e299142 --- /dev/null +++ b/rush02/ex00/Makefile @@ -0,0 +1,38 @@ +# **************************************************************************** # +# # +# ::: :::::::: # +# Makefile :+: :+: :+: # +# +:+ +:+ +:+ # +# By: cacharle +#+ +:+ +#+ # +# +#+#+#+#+#+ +#+ # +# Created: 2019/07/20 07:26:11 by cacharle #+# #+# # +# Updated: 2019/07/21 11:46:43 by cacharle ### ########.fr # +# # +# **************************************************************************** # + +OUT = rush-02 +SRC = main.c helper.c parse.c error.c dict.c convert.c +OBJ = $(SRC:.c=.o) + +CC = gcc +CCFLAGS = -Wall -Wextra #-Werror + +.PHONY: all +all: $(OUT) + +$(OUT): $(OBJ) + $(CC) $(CCFLAGS) $(OBJ) -o $(OUT) + +%.o: %.c include.h + $(CC) $(CCFLAGS) -c $< -o $@ + +.PHONY: clean +clean: + rm -f $(OBJ) + +.PHONY: fclean +fclean: clean + rm -f $(OUT) + +.PHONY: re +re: fclean all -- cgit