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_OBJ=
|
||||||
ALT_TARGET=
|
ALT_TARGET=
|
||||||
|
|
||||||
# FORCE use of gcc -traditional-cpp
|
# FORCE use of -traditional-cpp
|
||||||
#
|
#
|
||||||
CC:= gcc
|
|
||||||
CFLAGS+= -traditional-cpp
|
CFLAGS+= -traditional-cpp
|
||||||
|
|
||||||
|
|
||||||
@@ -190,8 +189,7 @@ all: ${DATA} ${TARGET}
|
|||||||
supernova deep_magic magic charon pluto
|
supernova deep_magic magic charon pluto
|
||||||
|
|
||||||
${PROG}: ${PROG}.c
|
${PROG}: ${PROG}.c
|
||||||
@echo "NOTE: This entry will not compile when using clang because it does not support"
|
@echo "NOTE: This entry requires a compiler that supports -traditional-cpp"
|
||||||
@echo " -traditional-cpp but it should compile with gcc."
|
|
||||||
${CC} ${CFLAGS} $< -o $@ ${LIBS}
|
${CC} ${CFLAGS} $< -o $@ ${LIBS}
|
||||||
|
|
||||||
# alternative executable
|
# alternative executable
|
||||||
|
|||||||
Reference in new issue
Block a user