improve how -traditional-cpp is forced for 1986/wall

This commit is contained in:
Landon Curt Noll committed 2023-03-06 05:29:27 -08:00
1 parent 4606a83cf4
commit 84dc244668
1 file changed
+2 -4
+2 -4
View File
@@ -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