improve how -traditional-cpp is forced for 1986/wall
This commit is contained in:
1 parent
4606a83cf4
commit
84dc244668
1 file changed
+2
-4
+2
-4
@@ -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
|
||||
|
||||
Reference in new issue
Block a user