Fix 2019/dogon/Makefile for clang in linux
This commit is contained in:
1 parent
b405293f72
commit
76b7f121d5
2 files changed
+3
-2
No files matched your search
+2
-2
@@ -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
|
||||
#
|
||||
|
||||
@@ -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]))
|
||||
|
||||
|
||||
Reference in new issue
Block a user