~smlavine/navipage

ref: 1a0b052cece623da83f38cbe9f635fc2706f9190 navipage/config.mk -rw-r--r-- 437 bytes
1a0b052cSebastian LaVine Import err 1.0.1 11 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