aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore3
-rw-r--r--Makefile30
-rw-r--r--README.md3
-rw-r--r--main.hs2
-rw-r--r--subject.pdfbin0 -> 1420970 bytes
5 files changed, 38 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..e3b0f23
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+*.o
+*.hi
+computor
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
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..88e47fb
--- /dev/null
+++ b/README.md
@@ -0,0 +1,3 @@
+# computorv1
+
+Computorv1 project of school 42
diff --git a/main.hs b/main.hs
new file mode 100644
index 0000000..e49065a
--- /dev/null
+++ b/main.hs
@@ -0,0 +1,2 @@
+main = do
+ putStr "HelloWorld"
diff --git a/subject.pdf b/subject.pdf
new file mode 100644
index 0000000..b5aefb3
--- /dev/null
+++ b/subject.pdf
Binary files differ