Tweaked CFLAGS in each makefile

This commit is contained in:
2024-10-12 20:30:42 +11:00
parent 7b1dbf25ff
commit bfc8fe3717
4 changed files with 14 additions and 12 deletions

View File

@@ -1,6 +1,6 @@
#compiler settings
CC=gcc
CFLAGS+=-g -Wall -Werror -Wno-unused-parameter -Wno-unused-function -Wno-unused-variable
CFLAGS+=-std=c17 -g -Wall -Werror -Wno-unused-parameter -Wno-unused-function -Wno-unused-variable -Wformat=2
LIBS+=-lm -lToy
LDFLAGS+=-Wl,-rpath,'$$ORIGIN'