~smlavine/navipage

ref: e43939dd843ea7deed52dce6c7019773e14314d8 navipage/config.mk -rw-r--r-- 437 bytes
e43939ddSebastian LaVine Remove MAX() and MIN() macros 7 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# navipage version
VERSION = 0.8.0

# paths
PREFIX = /usr
MANPREFIX = $(PREFIX)/share/man

#includes and libs
INCS = -I$(PREFIX)/include
LIBS = -lreadline

# flags
CPPFLAGS = $(INCS) -D_POSIX_C_SOURCE=200809L -DVERSION=\"$(VERSION)\"
CFLAGS = -std=c99 -Wall -Wextra -Wpedantic
#uncomment for debugging
#CFLAGS = -g -Og -std=c99 -fsanitize=address -Wall -Wextra -Wpedantic
LDFLAGS = -L$(PREFIX)/lib $(LIBS)

# compiler and linker
CC = cc