blob: 37ad05fc998dd3207b681128c10b8b995ed65498 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# farbfeld version
VERSION = 1
# Customize below to fit your system
# paths
PREFIX = /usr/local
MANPREFIX = ${PREFIX}/man
PNGLIB = /usr/local/lib
PNGINC = /usr/local/include
JPGLIB = /usr/local/lib
JPGINC = /usr/local/include
INCS = -I${PNGINC} -I${JPGINC}
LIBS = -L${PNGLIB} -L${JPGLIB} -lpng -ljpeg
# flags
CPPFLAGS = -D_DEFAULT_SOURCE
CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
LDFLAGS = -s ${LIBS}
# compiler and linker
CC = cc
|