Explorar o código

Added makefile and corrected instructions

Federico klez Culloca %!s(int64=7) %!d(string=hai) anos
pai
achega
fc8846179c
Modificáronse 2 ficheiros con 9 adicións e 5 borrados
  1. 8 0
      Makefile
  2. 1 5
      README.md

+ 8 - 0
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

+ 1 - 5
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