A minimalistic project from the suckless team: https://tools.suckless.org/blind/ Submitted by: myself Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D14099
18 lines
607 B
Makefile
18 lines
607 B
Makefile
--- config.mk.orig 2017-05-06 11:27:39 UTC
|
|
+++ config.mk
|
|
@@ -2,10 +2,10 @@
|
|
VERSION = 1.1
|
|
|
|
# Paths
|
|
-PREFIX = /usr/local
|
|
-MANPREFIX = $(PREFIX)/share/man
|
|
+PREFIX ?= /usr/local
|
|
+MANPREFIX = $(PREFIX)/man
|
|
|
|
# You may want to remove -DHAVE_PRCTL and -DHAVE_EPOLL from CPPFLAGS if you are not using Linux.
|
|
-CFLAGS = -std=c99 -Wall -pedantic -O2
|
|
-CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_FILE_OFFSET_BITS=64 -DHAVE_PRCTL -DHAVE_EPOLL
|
|
-LDFLAGS = -lm -s
|
|
+CFLAGS += -std=c99 -Wall -pedantic
|
|
+CPPFLAGS += -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_FILE_OFFSET_BITS=64
|
|
+LDFLAGS += -lm -lc -s
|