improve how 2006/night is compiled
Added note about a "compile may take a while to complete". Update CSILENCE to cut down on warning messages on Linux.
This commit is contained in:
1 parent
690a4dba71
commit
886fbca757
1 file changed
+5
-2
+5
-2
@@ -41,7 +41,7 @@ include ../../var.mk
|
|||||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-macro-redefined \
|
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-macro-redefined \
|
||||||
-Wno-null-character -Wno-overlength-strings -Wno-parentheses \
|
-Wno-null-character -Wno-overlength-strings -Wno-parentheses \
|
||||||
-Wno-shift-op-parentheses -Wno-sign-compare -Wno-unsequenced \
|
-Wno-shift-op-parentheses -Wno-sign-compare -Wno-unsequenced \
|
||||||
-Wno-unused-value -Wno-unused-variable
|
-Wno-unused-value -Wno-unused-variable -Wno-sequence-point
|
||||||
|
|
||||||
# Common C compiler warning flags
|
# Common C compiler warning flags
|
||||||
#
|
#
|
||||||
@@ -88,7 +88,8 @@ ifeq ($(CC),clang)
|
|||||||
#
|
#
|
||||||
CSILENCE+= -Wno-implicit-int-conversion -Wno-missing-prototypes \
|
CSILENCE+= -Wno-implicit-int-conversion -Wno-missing-prototypes \
|
||||||
-Wno-missing-variable-declarations -Wno-poison-system-directories \
|
-Wno-missing-variable-declarations -Wno-poison-system-directories \
|
||||||
-Wno-shadow -Wno-sign-conversion -Wno-strict-prototypes
|
-Wno-shadow -Wno-sign-conversion -Wno-strict-prototypes \
|
||||||
|
-Wno-declaration-after-statement
|
||||||
#
|
#
|
||||||
CWARN+= -Weverything
|
CWARN+= -Weverything
|
||||||
#
|
#
|
||||||
@@ -132,6 +133,7 @@ all: data ${TARGET}
|
|||||||
supernova deep_magic magic charon pluto
|
supernova deep_magic magic charon pluto
|
||||||
|
|
||||||
${PROG}: ${PROG}.c
|
${PROG}: ${PROG}.c
|
||||||
|
@echo "This next compile may take a while to complete:"
|
||||||
${CC} ${CFLAGS} $< -o $@ ${LIBS}
|
${CC} ${CFLAGS} $< -o $@ ${LIBS}
|
||||||
|
|
||||||
# alternative executable
|
# alternative executable
|
||||||
@@ -140,6 +142,7 @@ alt: data ${ALT_TARGET}
|
|||||||
@${TRUE}
|
@${TRUE}
|
||||||
|
|
||||||
${PROG}.alt: ${PROG}.alt.c
|
${PROG}.alt: ${PROG}.alt.c
|
||||||
|
@echo "This next compile may take a while to complete:"
|
||||||
${CC} ${CFLAGS} $< -o $@ ${LIBS}
|
${CC} ${CFLAGS} $< -o $@ ${LIBS}
|
||||||
|
|
||||||
# data files
|
# data files
|
||||||
|
|||||||
Reference in new issue
Block a user