-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathConfig
More file actions
37 lines (29 loc) · 810 Bytes
/
Config
File metadata and controls
37 lines (29 loc) · 810 Bytes
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
26
27
28
29
30
31
32
33
34
35
36
37
# *********************** #
# Configure distribution. #
# *********************** #
VERSION = 0.6
TARNAME = bbunit-$(VERSION)
# *********************** #
# Configure installation. #
# *********************** #
DESTDIR ?=
PREFIX ?= /usr/local
INCDIR = $(PREFIX)/include
LIBDIR = $(PREFIX)/lib
SHAREDIR = $(PREFIX)/share
# ********************** #
# Configure compilation. #
# ********************** #
CC ?= cc
CFLAGS ?=
HFLAGS ?=
LDFLAGS ?=
ALL_CFLAGS = -std=c89 -pedantic -Wall -Wextra \
-DNOINCLUDE -D_POSIX_C_SOURCE=199309L -DBBUNIT_VERSION=$(VERSION) -O2
ALL_HFLAGS = -std=c89 -pedantic -Wall -Wextra -Werror -O2
ALL_LDFLAGS = -s
# Disable colorizing of testing reports.
#ALL_CFLAGS += -DANSICOLOR_OFF
ALL_CFLAGS += $(CFLAGS)
ALL_HFLAGS += $(HFLAGS)
ALL_LDFLAGS += $(LDFLAGS)