Przeglądaj źródła

Added makefile and corrected instructions

Federico klez Culloca 7 lat temu
rodzic
commit
fc8846179c
2 zmienionych plików z 9 dodań i 5 usunięć
  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