diff --git a/2019/dogon/Makefile b/2019/dogon/Makefile index 2ec91e0a7..fb21b973d 100644 --- a/2019/dogon/Makefile +++ b/2019/dogon/Makefile @@ -41,7 +41,7 @@ include ../../var.mk CSILENCE= -Wno-bitwise-conditional-parentheses -Wno-bitwise-op-parentheses \ -Wno-deprecated-declarations -Wno-format -Wno-parentheses \ -Wno-shift-op-parentheses -Wno-sign-compare -Wno-unused-variable \ - -Wno-main-return-type -Wno-return-type -Wno-unused-parameter + -Wno-main-return-type -Wno-return-type -Wno-unused-parameter -Wno-implicit-function-declaration # Common C compiler warning flags # @@ -64,7 +64,7 @@ CDEFINE= -DX=1280l -DY=1024l -DZ=0x20000000 # Include files that are needed to compile # -CINCLUDE= -I ${X11_INCDIR} -I ${X11_INCDIR}/X11 +CINCLUDE= -include stdio.h -I ${X11_INCDIR} -I ${X11_INCDIR}/X11 # Optimization # diff --git a/thanks-for-fixes.md b/thanks-for-fixes.md index 5e998a688..edc60486a 100644 --- a/thanks-for-fixes.md +++ b/thanks-for-fixes.md @@ -1443,6 +1443,7 @@ might as well. Cody added explicit linking of libm (`-lm`) for systems that do not do this (linux does not seem to but macOS does). +He also fixed the Makefile so that it compiles with clang in linux. ## [2019/karns](2019/karns/prog.c) ([README.md](2019/karns/README.md]))