fix Makefile and README.md for 2001/westley

This commit is contained in:
Landon Curt Noll committed 2023-03-21 16:10:34 -07:00
1 parent 2706f3fc52
commit 768250a5f2
2 files changed
+138 -116

No files matched your search

+8 -4
View File
@@ -63,14 +63,16 @@ X11_INCDIR= /opt/X11/include
# Common C compiler warnings to silence
#
#CSILENCE=
CSILENCE= -Wno-trigraphs -Wno-implicit-function-declaration -Wno-pedantic
CSILENCE= -Wno-empty-body -Wno-error -Wno-implicit-function-declaration \
-Wno-implicit-int -Wno-main -Wno-return-type -Wno-trigraphs \
-Wno-unused-parameter
# Common C compiler warning flags
#
#CWARN= ${CSILENCE}
#CWARN= -Wall ${CSILENCE}
#CWARN= -Wall -Wextra ${CSILENCE}
CWARN= -Wall -Wextra -pedantic ${CSILENCE}
CWARN= -Wall -Wextra ${CSILENCE}
#CWARN= -Wall -Wextra -pedantic ${CSILENCE}
# Compiler standard
#
@@ -138,7 +140,9 @@ CC= cc
#
ifeq ($(CC),clang)
#
CSILENCE+= -Wno-disabled-macro-expansion -Wno-poison-system-directories
CSILENCE+= -Wno-disabled-macro-expansion -Wno-extra-semi -Wno-missing-prototypes \
-Wno-missing-variable-declarations -Wno-pedantic \
-Wno-poison-system-directories -Wno-shadow -Wno-strict-prototypes
#
CWARN+= -Weverything
#