rearrange config.mk CC/CXX and CFLAGS/CXXFLAGS

This commit is contained in:
Emile Clark-Boman 2025-09-27 18:46:22 +10:00
parent 9eaec7f22f
commit b62a98e461

View file

@ -1,10 +1,12 @@
# -*- make -*-
# === C Compiler Configuration ===
CC := gcc
CFLAGS := -Wall -Wextra -std=gnu23 -O
CC := gcc -xc -std=gnu23
CFLAGS := -Wall -Wextra -O
CDEBUG := -g
# === C++ Compiler Configuration ===
CXX := gcc -xc++ -lstdc++ -shared-libgcc
CXX := gcc -xc++ -std=gnu++17 -lstdc++ -shared-libgcc
CXXFLAGS := -Wall -Wextra -O
CXXDEBUG := -g