Commit 86495f80 authored by FRIGN's avatar FRIGN

Update config.mk

-Wno-clobbered is not supported on OpenBSD. Let's remove it and Wextra
with all its stupid warnings.
parent 7e4fe77f
......@@ -6,12 +6,15 @@ PREFIX = /usr/local
PNGLIB = /usr/local/lib
PNGINC = /usr/local/include
INCS = -I${PNGINC}
LIBS = -L${PNGLIB} -lpng -ljpeg
JPEGLIB = /usr/local/lib
JPEGINC = /usr/local/include
INCS = -I${PNGINC} -I${JPEGINC}
LIBS = -L${PNGLIB} -L${JPEGLIB} -lpng -ljpeg
# flags
CPPFLAGS = -D_DEFAULT_SOURCE
CFLAGS = -std=c99 -pedantic -Wall -Wextra -Wno-clobbered -Os ${INCS} ${CPPFLAGS}
CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
LDFLAGS = -s ${LIBS}
# compiler and linker
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment