~smlavine/navipage

navipage/config.mk -rw-r--r-- 381 bytes
6ab3106dSebastian LaVine Add err to list of libraries 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 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
ifdef DEBUG
	CFLAGS += -ggdb -O0
endif
LDFLAGS = -L$(PREFIX)/lib $(LIBS)

# compiler and linker
CC = cc