sbase

suckless unix tools
git clone git://git.2f30.org/sbase
Log | Files | Refs | README | LICENSE

commit 0d0624b85555cac210e3fb17ddc7ae6097e6e45d
parent 2ee3ae59942ddb8f0ed92c71565b535d7e70947d
Author: sin <sin@2f30.org>
Date:   Mon, 17 Nov 2014 12:22:53 +0000

Use $(RANLIB) in Makefile

Diffstat:
MMakefile | 2+-
Mconfig.mk | 3++-
2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile @@ -143,7 +143,7 @@ $(OBJ): $(HDR) config.mk $(LIB): $(LIBOBJ) $(AR) -r -c $@ $? - ranlib $@ + $(RANLIB) $@ install: all mkdir -p $(DESTDIR)$(PREFIX)/bin diff --git a/config.mk b/config.mk @@ -5,9 +5,10 @@ VERSION = 0.0 PREFIX = /usr/local MANPREFIX = $(PREFIX)/share/man -#CC = gcc #CC = musl-gcc LD = $(CC) +RANLIB = ranlib + CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE CFLAGS = -std=c99 -Wall -pedantic LDFLAGS = -s