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
|
2017-08-30 12:27:04 +00:00
|
|
|
CPPFLAGS = -DVERSION=\"$(VERSION)\" -D_DEFAULT_SOURCE -D_BSD_SOURCE
|
2018-02-04 20:27:33 +00:00
|
|
|
CFLAGS = -std=c99 -pedantic -Wno-unused-variable -Wno-implicit-function-declaration -Wall -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
|