From 6a2d72af1ac550f5050eeac0be25734c206b9512 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Fri, 25 Sep 2020 14:20:55 -0400 Subject: make testing different versions easier --- config.mk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/config.mk b/config.mk index ff0c13d..4721b02 100644 --- a/config.mk +++ b/config.mk @@ -1,3 +1,8 @@ CC=ungol-gcc -CFLAGS=-fno-builtin -g -std=iso9899:199409 -Wall -Wextra +C_VERSION=c89 +#C_VERSION=iso9899:199409 +#C_VERSION=c99 +#C_VERSION=c11 +#C_VERSION=c17 +CFLAGS=-fno-builtin -g -std=$(C_VERSION) -Wall -Wextra LDFLAGS=-lc -lm -- cgit v1.2.1