From: Federico klez Culloca Date: Mon, 29 Oct 2018 09:28:04 +0000 (+0100) Subject: Added makefile and corrected instructions X-Git-Url: https://git.klezlab.it/?a=commitdiff_plain;h=fc8846179c84331c41303ffa07a370868617656d;p=klez%2Fparrotsay-lite.git Added makefile and corrected instructions --- diff --git a/Makefile b/Makefile new file mode 100644 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 diff --git a/README.md b/README.md index ff0be35..b830b43 100644 --- 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