# Mac test of the GAME MODE logic (lane gbmode1). Not part of the IDF build.
CFLAGS ?= -O1 -g -Wall -Wextra -Werror -std=c11

gbmode_test: gbmode_test.c ../gbmode.c ../gbmode.h
	$(CC) $(CFLAGS) -o $@ gbmode_test.c

test: gbmode_test
	./gbmode_test

.PHONY: test
