ubase

suckless linux base utils
git clone git://git.2f30.org/ubase.git
Log | Files | Refs | README | LICENSE

commit 1e78b0aa160b23559565cffd8678fc38af3f3a41
parent 6e3023fc27f153e9cb1adb31049feb09f5ec4baa
Author: sin <sin@2f30.org>
Date:   Mon Apr 14 14:44:58 +0100

Simplify config.mk and update README for tcc

Diffstat:
README | 2++
config.mk | 12+++---------
2 files changed, 5 insertions(+), 9 deletions(-)
diff --git a/README b/README @@ -28,5 +28,7 @@ individual tools to ubase-box. Ideally you will want to statically link ubase. We highly recommend using musl-libc[2]. +ubase is known to compile with gcc and tcc. + [1] http://git.suckless.org/sbase/ [2] http://www.musl-libc.org/ diff --git a/config.mk b/config.mk @@ -8,12 +8,6 @@ MANPREFIX = $(PREFIX)/share/man #CC = gcc #CC = musl-gcc LD = $(CC) -CPPFLAGS = -D_BSD_SOURCE -D_GNU_SOURCE -CFLAGS = -g -std=c99 -Wall -Wextra $(CPPFLAGS) -LDFLAGS = -g -lcrypt - -#CC = tcc -#LD = $(CC) -#CPPFLAGS = -D_BSD_SOURCE -D_GNU_SOURCE -#CFLAGS = -Os -Wall $(CPPFLAGS) -#LDFLAGS = -lcrypt +CPPFLAGS = -D_GNU_SOURCE +CFLAGS = -Os -Wall -Wextra $(CPPFLAGS) +LDFLAGS = -lcrypt