Add 'runall' target.

The ‘runall’ target runs the rotation on different sizes:
- 512x512
- 1024x1024
- 3000x3000
master
Fabien Freling 2014-07-24 22:17:55 +02:00
parent 760d6244d0
commit c704c14526
2 changed files with 5 additions and 1 deletions

View File

@ -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)

View File

@ -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();