From 1fba8a2aecfcb74abf209b2c3b59c1bdaaeb2cf4 Mon Sep 17 00:00:00 2001 From: Landon Curt Noll Date: Thu, 19 Jun 2025 19:35:44 -0700 Subject: [PATCH] update next/Makefile.example as per final judging rounds We update `next/Makefile.example` as per needs of IOCCC final judging rounds. Improved a few "XXX" comments. Add `-pedantic` to `${CWARN}` by default with a comment suggesting that is is OK to remove that compiler flag. --- next/Makefile.example | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/next/Makefile.example b/next/Makefile.example index e7336025c..afdbcef22 100644 --- a/next/Makefile.example +++ b/next/Makefile.example @@ -21,7 +21,7 @@ SHELL= bash # include ../../var.mk # XXX - for now, set some common tool locations -# XXX - once var.mk is in use, the IOCCC judges will remove this section +# XXX - once var.mk is in use, the IOCCC judges will remove the section below CC= cc CHMOD= chmod CLANG= clang @@ -46,7 +46,7 @@ CUNKNOWN= -Wno-unknown-warning-option # Common C compiler warning flags # -CWARN= -Wall -Wextra ${CSILENCE} ${CUNKNOWN} +CWARN= -Wall -Wextra -pedantic ${CSILENCE} ${CUNKNOWN} # Compiler standard # @@ -111,7 +111,7 @@ endif # Special Makefile variables for this entry ########################################### -#ENTRY= XXX - we will change this line later - XXX +#ENTRY= XXX - The IOCCC judges will change this line later PROG= prog # OBJ= ${PROG}.o @@ -128,7 +128,7 @@ TARGET= ${PROG} ################# all: data ${TARGET} - @# please remove these comments + @# XXX - please remove these comments @ @# NOTE: only try.sh and try.alt.sh scripts will be made executable in @# the tarball so if you need any scripts that are executable, make sure