aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..89e8add
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,30 @@
+# **************************************************************************** #
+# #
+# ::: :::::::: #
+# Makefile :+: :+: :+: #
+# +:+ +:+ +:+ #
+# By: cacharle <marvin@42.fr> +#+ +:+ +#+ #
+# +#+#+#+#+#+ +#+ #
+# 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