fix Makefile and README.md for 2012/hamano

This commit is contained in:
Landon Curt Noll committed 2023-03-23 22:42:18 -07:00
1 parent 4e9f76f482
commit 06fc780ce5
2 files changed
+38 -30

No files matched your search

+4 -5
View File
@@ -103,8 +103,8 @@ CINCLUDE=
#CINCLUDE= -include stdlib.h
#CINCLUDE= -include stdio.h
#CINCLUDE= -include stdlib.h -include stdio.h
#CINCLUDE= -I ${X11_INCDIR}
#CINCLUDE= -I ${HOMEBREW_PREFIX}/include/SDL2
#CINCLUDE= -I ${X11_INCDIR} -I ${X11_INCDIR}/X11
#CINCLUDE= `${SDL2_CONFIG} --cflags`
# Optimization
#
@@ -128,7 +128,7 @@ CFLAGS= ${CSTD} ${CWARN} ${ARCH} ${CDEFINE} ${CINCLUDE} ${OPT}
LIBS=
#LIBS= -lm
#LIBS= -L ${X11_LIBDIR} -lX11
#LIBS= -L ${HOMEBREW_PREFIX}/lib -lSDL2
#LIBS= `${SDL2_CONFIG} --libs`
# C compiler to use
#
@@ -142,7 +142,7 @@ ifeq ($(CC),clang)
#
CSILENCE+= -Wno-comma -Wno-double-promotion -Wno-missing-prototypes \
-Wno-missing-variable-declarations -Wno-poison-system-directories \
-Wno-shadow -Wno-shorten-64-to-3
-Wno-shadow -Wno-shorten-64-to-32
#
CWARN+= -Weverything
#
@@ -327,4 +327,3 @@ pluto: charon
@echo "dwarf is a type of planet"
@echo "therefore, $@ is a planet"
@echo "having lots of planets is good feature because supernovae can help ${MAKE} a lot of them"