summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2020-09-25 14:20:55 -0400
committerJakob Kaivo <jkk@ung.org>2020-09-25 14:20:55 -0400
commit6a2d72af1ac550f5050eeac0be25734c206b9512 (patch)
tree8a0a0a71329f6f3ee17ce4344b048dd1f5f86e4f
parentd15a977e36353d1a9f065dec68dc9e58d2a5559d (diff)
make testing different versions easier
-rw-r--r--config.mk7
1 files changed, 6 insertions, 1 deletions
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