File: config.mk

package info (click to toggle)
spout 1.4-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 356 kB
  • sloc: ansic: 5,804; makefile: 221
file content (21 lines) | stat: -rw-r--r-- 434 bytes parent folder | download | duplicates (4)
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/games
MANPREFIX = /usr/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