Merge pull request #25 from jcvernaleo/master - tty-clock - port of tty-clock to OpenBSD, with pledge/unveil added as goodie.
HTML git clone https://git.drkhsh.at/tty-clock.git
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 516afbf9f96101c0bed1c366f80d7ca087b0557d
DIR parent 9f75de2af9c10e0ebae62fcc0e4f1a288c965779
HTML Author: xorg62 <xorg62@gmail.com>
Date: Thu, 19 Mar 2015 02:26:23 +0100
Merge pull request #25 from jcvernaleo/master
Allow C and LD flags to be overwritten.
Diffstat:
M Makefile | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
---
DIR diff --git a/Makefile b/Makefile
@@ -10,16 +10,13 @@ INSTALLPATH = ${DESTDIR}${PREFIX}/bin
MANPATH = ${DESTDIR}${PREFIX}/share/man/man1
ifeq ($(shell sh -c 'which ncurses5-config>/dev/null 2>/dev/null && echo y'), y)
- CFLAGS = -Wall -g -I $$(ncurses5-config --includedir)
- LDFLAGS = -L $$(ncurses5-config --libdir) $$(ncursesw5-config --libs)
+ CFLAGS ?= -Wall -g -I $$(ncurses5-config --includedir)
+ LDFLAGS ?= -L $$(ncurses5-config --libdir) $$(ncursesw5-config --libs)
else ifeq ($(shell sh -c 'which ncursesw5-config>/dev/null 2>/dev/null && echo y'), y)
- CFLAGS = -Wall -g -I $$(ncursesw5-config --includedir)
- LDFLAGS = -L $$(ncursesw5-config --libdir) $$(ncursesw5-config --libs)
+ CFLAGS ?= -Wall -g -I $$(ncursesw5-config --includedir)
+ LDFLAGS ?= -L $$(ncursesw5-config --libdir) $$(ncursesw5-config --libs)
endif
-
-
-
tty-clock : ${SRC}
@echo "build ${SRC}"