From 84dc2446685f86b80c4027b2be9359586c3826a0 Mon Sep 17 00:00:00 2001 From: Landon Curt Noll Date: Mon, 6 Mar 2023 05:29:27 -0800 Subject: [PATCH] improve how -traditional-cpp is forced for 1986/wall --- 1986/wall/Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/1986/wall/Makefile b/1986/wall/Makefile index d088ba553..00496ec44 100644 --- a/1986/wall/Makefile +++ b/1986/wall/Makefile @@ -172,9 +172,8 @@ TARGET= ${PROG} ALT_OBJ= ALT_TARGET= -# FORCE use of gcc -traditional-cpp +# FORCE use of -traditional-cpp # -CC:= gcc CFLAGS+= -traditional-cpp @@ -190,8 +189,7 @@ all: ${DATA} ${TARGET} supernova deep_magic magic charon pluto ${PROG}: ${PROG}.c - @echo "NOTE: This entry will not compile when using clang because it does not support" - @echo " -traditional-cpp but it should compile with gcc." + @echo "NOTE: This entry requires a compiler that supports -traditional-cpp" ${CC} ${CFLAGS} $< -o $@ ${LIBS} # alternative executable