]> git.klezlab.it Git - klez/parrotsay-lite.git/commitdiff
Added makefile and corrected instructions
authorFederico klez Culloca <klez@klezlab.it>
Mon, 29 Oct 2018 09:28:04 +0000 (10:28 +0100)
committerFederico klez Culloca <klez@klezlab.it>
Mon, 29 Oct 2018 09:28:04 +0000 (10:28 +0100)
Makefile [new file with mode: 0644]
README.md

diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..456b512
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,8 @@
+parrotsay : parrotsay.o
+               cc -o parrotsay parrotsay.o
+
+parrotsay.o : parrotsay.c
+               cc -c parrotsay.c
+
+clean :
+               rm parrotsay parrotsay.o
index ff0be355b020149d12f335989ac522dbf0e3fecd..b830b4356717217bd8882761cc2ba7699ab85d07 100644 (file)
--- a/README.md
+++ b/README.md
@@ -17,8 +17,4 @@ This has been tested only with:
 
 To build just do
 
-    gcc parrotsay.c -o parrotsay
-
-Or
-
-    clang parrotsay.c -o parrotsay
+       make