commit 86495f8058518f7064f2ddda92314aa42163b4c0 Author: FRIGN <d...@frign.de> AuthorDate: Mon Jan 4 23:11:25 2016 +0100 Commit: FRIGN <d...@frign.de> CommitDate: Mon Jan 4 23:11:37 2016 +0100
Update config.mk -Wno-clobbered is not supported on OpenBSD. Let's remove it and Wextra with all its stupid warnings. diff --git a/config.mk b/config.mk index 4c48639..6c04982 100644 --- a/config.mk +++ b/config.mk @@ -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