blob: 4c4863921b8c4a9bbc59999af51c974989b0f7cb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# Customize below to fit your system
# paths
PREFIX = /usr/local
PNGLIB = /usr/local/lib
PNGINC = /usr/local/include
INCS = -I${PNGINC}
LIBS = -L${PNGLIB} -lpng -ljpeg
# flags
CPPFLAGS = -D_DEFAULT_SOURCE
CFLAGS = -std=c99 -pedantic -Wall -Wextra -Wno-clobbered -Os ${INCS} ${CPPFLAGS}
LDFLAGS = -s ${LIBS}
# compiler and linker
CC = cc
|