2016-09-02 07:59:02 +00:00
|
|
|
# quark version
|
|
|
|
VERSION = 0
|
|
|
|
|
|
|
|
# Customize below to fit your system
|
|
|
|
|
|
|
|
# paths
|
|
|
|
PREFIX = /usr/local
|
2017-08-13 21:30:13 +00:00
|
|
|
MANPREFIX = $(PREFIX)/share/man
|
2016-09-02 07:59:02 +00:00
|
|
|
|
|
|
|
# flags
|
2018-03-01 14:18:20 +00:00
|
|
|
CPPFLAGS = -DVERSION=\"$(VERSION)\" -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=700 -D_BSD_SOURCE
|
2018-03-04 23:30:53 +00:00
|
|
|
CFLAGS = -std=c99 -pedantic -Wall -Wextra -Os
|
2017-06-20 19:40:00 +00:00
|
|
|
LDFLAGS = -s
|
2016-09-02 07:59:02 +00:00
|
|
|
|
|
|
|
# compiler and linker
|
2017-08-13 22:06:26 +00:00
|
|
|
CC = cc
|