nissy-fmc

A Rubik's cube FMC assistant
git clone https://git.tronto.net/nissy-fmc
Download | Log | Files | Refs | README | LICENSE

commit 34de580e45c2a5db86115b1ad86492b0b751782f
parent 084431648827d9218ebca679e0a3092e31bc570f
Author: Sebastiano Tronto <sebastiano@tronto.net>
Date:   Sun,  7 May 2023 11:19:52 +0200

Minor edits

Diffstat:
MMakefile | 9++++++---
Msrc/coord.c | 4+++-
Msrc/cube.c | 1+
Msrc/nissy.c | 1-
4 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/Makefile b/Makefile @@ -5,9 +5,12 @@ VERSION = pre-3.0 PREFIX = /usr/local CPPFLAGS = -DVERSION=\"${VERSION}\" -CFLAGS = -std=c99 -pedantic -Wall -Wextra -Wno-unused-parameter -O3 ${CPPFLAGS} -DBFLAGS = -std=c99 -pedantic -Wall -Wextra -Wno-unused-parameter \ - -Wno-unused-function -fsanitize=address -fsanitize=undefined \ +CFLAGS = -std=c99 -pedantic -Wall -Wextra \ + -Wno-unused-parameter -Wno-unused-function \ + -O3 ${CPPFLAGS} +DBFLAGS = -std=c99 -pedantic -Wall -Wextra \ + -Wno-unused-parameter -Wno-unused-function \ + -fsanitize=address -fsanitize=undefined \ -g3 ${CPPFLAGS} CC = clang diff --git a/src/coord.c b/src/coord.c @@ -1,9 +1,11 @@ #include <inttypes.h> #include <stdbool.h> -#include <stdio.h> #include <stdlib.h> #include <string.h> +// TODO: remove +#include <stdio.h> + #include "cube.h" #include "coord.h" diff --git a/src/cube.c b/src/cube.c @@ -1,4 +1,5 @@ #include <stdbool.h> + #include "cube.h" static void apply_permutation(int *, int *, int, int *); diff --git a/src/nissy.c b/src/nissy.c @@ -1,6 +1,5 @@ #include <inttypes.h> #include <stdbool.h> -#include <stddef.h> #include <string.h> #include "cube.h"