blob: 9a21e694323d295568992451fe89009a24ea5106 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# spreed version
VERSION = 0.2
# paths
BIN = bin
PREFIX = /usr/local
MANPREFIX = $(PREFIX)/share/man
# includes and libs
INCS =
LIBS =
# flags
CFLAGS = -std=c99 -pedantic -Wall -O2 $(INCS)\
-D_POSIX_C_SOURCE=200809L -DVERSION=\"$(VERSION)\"\
-DLVERSION=L\"$(VERSION)\"
LDFLAGS = -s $(LIBS)
# compiler and linker
CC ?= /usr/bin/gcc
|