mirror of
https://github.com/cellos51/balatro-gba.git
synced 2026-04-25 16:01:27 -05:00
* Added C standard gnu23 to the makefile * Added gnu23 standard to all test modue makefiles * Added installation of latest gcc version to tests workflow * Fixed typo in previous commit * Made GCC 14 installation conditional and moved from the workflow to the script * Extracted GCC version check to external script for CI and created tests README * Added #!/bin/bash * Make check_gcc_version.sh executable
17 lines
301 B
Makefile
17 lines
301 B
Makefile
|
|
CC := gcc
|
|
CFLAGS := -I../../include -I. \
|
|
-g -O3 -std=gnu23 -Wall -Werror
|
|
SRC := bitset_test.c \
|
|
../../source/bitset.c
|
|
OUT := build/bitset_test
|
|
|
|
$(OUT): $(SRC) | build
|
|
$(CC) $(CFLAGS) -o $@ $^
|
|
|
|
build:
|
|
mkdir -p build
|
|
|
|
clean:
|
|
rm -f $(OUT)
|