Преглед изворни кода

Added makefile and corrected instructions

Federico klez Culloca пре 7 година
родитељ
комит
fc8846179c
2 измењених фајлова са 9 додато и 5 уклоњено
  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