From 31b0a300c535f5a0ff266dda69806f2b8d76dd67 Mon Sep 17 00:00:00 2001 From: Charles Date: Sat, 29 Feb 2020 12:00:48 +0100 Subject: Initial commit --- Makefile | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..89e8add --- /dev/null +++ b/Makefile @@ -0,0 +1,30 @@ +# **************************************************************************** # +# # +# ::: :::::::: # +# Makefile :+: :+: :+: # +# +:+ +:+ +:+ # +# By: cacharle +#+ +:+ +#+ # +# +#+#+#+#+#+ +#+ # +# Created: 2020/02/29 11:54:31 by cacharle #+# #+# # +# Updated: 2020/02/29 12:00:11 by cacharle ### ########.fr # +# # +# **************************************************************************** # + +CC = ghc + +NAME = computor + +SRC = $(shell find . -name "*.hs") + +all: $(NAME) + +$(NAME): + $(CC) -o $(NAME) $(SRC) + +clean: + rm -f *.o *.hi + +fclean: clean + rm -f $(NAME) + +re: fclean all -- cgit