diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile | 6 | ||||
-rw-r--r-- | src/snake-sdl.c | 4 | ||||
-rw-r--r-- | src/version.h | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/src/Makefile b/src/Makefile index f54df80..21ccda9 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,5 +1,5 @@ # -# Copyright (c) 2019-2021, yzrh <yzrh@noema.org> +# Copyright (c) 2019-2022, yzrh <yzrh@noema.org> # # SPDX-License-Identifier: Apache-2.0 # @@ -18,8 +18,8 @@ obj = ${src:.c=.o} PREFIX = /usr/local -CFLAGS = -O3 -march=native -pipe -flto -Wall -Wextra -Wno-unused-result -Wno-unused-parameter -LDFLAGS = -Wl,-O3 -lpthread -lSDL2 -lSDL2_ttf +CFLAGS = -O2 -pipe -flto -Wall -Wextra -Wno-unused-result -Wno-unused-parameter +LDFLAGS = -Wl,-O2 -lpthread -lSDL2 -lSDL2_ttf .ifdef SOUND diff --git a/src/snake-sdl.c b/src/snake-sdl.c index 28268e0..47cf07e 100644 --- a/src/snake-sdl.c +++ b/src/snake-sdl.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019-2021, yzrh <yzrh@noema.org> + * Copyright (c) 2019-2022, yzrh <yzrh@noema.org> * * SPDX-License-Identifier: Apache-2.0 */ @@ -941,7 +941,7 @@ int main(void) { printf("Snake " VERSION "." RELEASE "." PATCH EXTRA "\n" - "Copyright (c) 2019-2021, yzrh <yzrh@noema.org>\n"); + "Copyright (c) 2019-2022, yzrh <yzrh@noema.org>\n"); if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_AUDIO | diff --git a/src/version.h b/src/version.h index eabf0a9..10f4865 100644 --- a/src/version.h +++ b/src/version.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019-2021, yzrh <yzrh@noema.org> + * Copyright (c) 2019-2022, yzrh <yzrh@noema.org> * * SPDX-License-Identifier: Apache-2.0 */ @@ -7,4 +7,4 @@ #define VERSION "0" #define RELEASE "6" #define PATCH "2" -#define EXTRA "_6" +#define EXTRA "_7" |