summaryrefslogtreecommitdiff
path: root/config.mk
blob: 3cfc393b21a36e2cdbef10f3d9de07c540665f22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# See COPYING file for copyright, license and warranty details.

VERSION = 1.4

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

# includes and libs
SDLINC = $(shell pkg-config --cflags sdl)
SDLLIB = $(shell pkg-config --libs sdl)

INCS = -I. -I/usr/include ${SDLINC}
LIBS = -L/usr/lib -lc ${SDLLIB}

# flags
CFLAGS = -std=gnu99 -Wall -Werror ${INCS} -DVERSION=\"${VERSION}\"
LDFLAGS = ${LIBS}

# compiler and linker
CC = cc