summaryrefslogtreecommitdiff
path: root/config.mk
blob: 93988c4c60eaafa70d2916cd665dae46c929a0c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# farbfeld version
VERSION = 2

# Customize below to fit your system

# paths
PREFIX = /usr/local
MANPREFIX = ${PREFIX}/man

# flags
CPPFLAGS = -D_DEFAULT_SOURCE
CFLAGS   = -std=c89 -pedantic -Wall -Os
LDFLAGS  = -s

png2ff ff2png: LDFLAGS += -lpng
jpg2ff ff2jpg: LDFLAGS += -ljpeg

# compiler and linker
CC = cc