~smlavine/navipage

ref: 7fb284e2c44c5461053fce7a44f7c780691df917 navipage/config.mk -rw-r--r-- 406 bytes
7fb284e2Sebastian LaVine Fix valgrind option typo 9 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

#uncomment for debugging
#DEBUGFLAGS = -ggdb -Og

# flags
CPPFLAGS = $(INCS) -D_POSIX_C_SOURCE=200809L -DVERSION=\"$(VERSION)\"
CFLAGS = -std=c99 -Wall -Wextra -Wpedantic $(DEBUGFLAGS)
LDFLAGS = -L$(PREFIX)/lib $(LIBS)

# compiler and linker
CC = cc