fix Makefile, README.md and code for 2004/newbern
This commit is contained in:
1 parent
49630a3dc0
commit
3b238069e4
3 files changed
+38
-27
No files matched your search
@@ -63,7 +63,7 @@ X11_INCDIR= /opt/X11/include
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
#CSILENCE=
|
||||
CSILENCE= -Wno-parentheses -Wno-pointer-sign
|
||||
CSILENCE= -Wno-parentheses -Wno-pointer-sign -Wno-incompatible-pointer-types
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -101,7 +101,7 @@ CINCLUDE=
|
||||
#CINCLUDE= -include stdlib.h
|
||||
#CINCLUDE= -include stdio.h
|
||||
#CINCLUDE= -include stdlib.h -include stdio.h
|
||||
#CINCLUDE= -I ${X11_INCDIR}
|
||||
#CINCLUDE= -I ${X11_INCDIR} -I ${X11_INCDIR}/X11
|
||||
#CINCLUDE= `${SDL2_CONFIG} --cflags`
|
||||
|
||||
# Optimization
|
||||
@@ -140,7 +140,7 @@ ifeq ($(CC),clang)
|
||||
#
|
||||
CSILENCE+= -Wno-array-bounds-pointer-arithmetic -Wno-missing-prototypes \
|
||||
-Wno-missing-variable-declarations -Wno-poison-system-directories \
|
||||
-Wno-sign-conversion -Wno-strict-prototypes
|
||||
-Wno-sign-conversion -Wno-strict-prototypes -Wno-conditional-uninitialized
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
Reference in new issue
Block a user