Commit a593273a authored by sin's avatar sin

Make config.mk easier to edit on different systems

This should also allow one to build the tools on both BSD and Linux
probably without modifying config.mk at all.
parent 0c46370d
......@@ -3,10 +3,16 @@
# paths
PREFIX = /usr/local
PNGLIB = /usr/local/lib
PNGINC = /usr/local/include
INCS = -I${PNGINC}
LIBS = -L${PNGLIB} -lpng
# flags
CPPFLAGS = -D_DEFAULT_SOURCE
CFLAGS = -std=c99 -pedantic -Wall -Wextra -Os ${CPPFLAGS}
LDFLAGS = -s -lpng -ljpeg -lgif
CFLAGS = -std=c99 -pedantic -Wall -Wextra -Os ${INCS} ${CPPFLAGS}
LDFLAGS = -s ${LIBS}
# compiler and linker
CC = cc
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