From 03de7ac436a8dc8ae185d702f575a8cc8230cdf8 Mon Sep 17 00:00:00 2001 From: anon Date: Fri, 18 Oct 2024 09:15:43 +0200 Subject: [PATCH] bump --- .gitignore | 1 + 256_colors.cpp | 4 +++- Makefile | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57d55c1 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +256colors diff --git a/256_colors.cpp b/256_colors.cpp index 27dcdf4..59797f4 100644 --- a/256_colors.cpp +++ b/256_colors.cpp @@ -1,9 +1,11 @@ +// @BAKE g++ $@ -O3 -o 256colors #include #include #define WIDTH 5 + #if WIDTH % 2 != 1 -#error "WIDTH has to be odd" +# error "WIDTH has to be odd" #endif using namespace std; diff --git a/Makefile b/Makefile index 55bb4c9..c5129be 100644 --- a/Makefile +++ b/Makefile @@ -1,2 +1,2 @@ main: - g++ 256_colors.cpp -O3 -o 256_colors + g++ 256_colors.cpp -O3 -o 256colors