From c704c14526970059257798eeb20363a70420786e Mon Sep 17 00:00:00 2001 From: Fabien Freling Date: Thu, 24 Jul 2014 22:17:55 +0200 Subject: [PATCH] Add 'runall' target. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The ‘runall’ target runs the rotation on different sizes: - 512x512 - 1024x1024 - 3000x3000 --- Makefile | 5 +++++ rotation.cpp | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index bf5e679..6ea7fca 100644 --- a/Makefile +++ b/Makefile @@ -23,6 +23,11 @@ clean: run: all $(BUILD_DIR)/rotation $(IMG) +runall: all + $(BUILD_DIR)/rotation img/lena_512.pgm + $(BUILD_DIR)/rotation img/lena_1024.pgm + $(BUILD_DIR)/rotation img/lena_3000.pgm + debug: all lldb $(BUILD_DIR)/rotation $(IMG) diff --git a/rotation.cpp b/rotation.cpp index 55936cf..5dcefa7 100644 --- a/rotation.cpp +++ b/rotation.cpp @@ -604,7 +604,6 @@ int main(int argc, char* argv[]) Image img(argv[1]); float average = 0.0; int i = 0; - cout << "Simple image" << endl; for (double rotation = 0; rotation < 360; rotation += step) { auto const before = chrono::high_resolution_clock::now();