From fc8846179c84331c41303ffa07a370868617656d Mon Sep 17 00:00:00 2001 From: Federico klez Culloca Date: Mon, 29 Oct 2018 10:28:04 +0100 Subject: [PATCH] Added makefile and corrected instructions --- Makefile | 8 ++++++++ README.md | 6 +----- 2 files changed, 9 insertions(+), 5 deletions(-) create mode 100644 Makefile 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 -- 2.47.3