[hackers] [ubase] Simplify config.mk and update README for tcc || sin

From: <git_AT_suckless.org>
Date: Mon, 14 Apr 2014 15:45:18 +0200

commit 1e78b0aa160b23559565cffd8678fc38af3f3a41
Author: sin <sin_AT_2f30.org>
Date: Mon Apr 14 14:44:58 2014 +0100

    Simplify config.mk and update README for tcc

diff --git a/README b/README
index dd2a6a0..25b9b62 100644
--- a/README
+++ b/README
_AT_@ -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
index aa54399..2b0df5f 100644
--- a/config.mk
+++ b/config.mk
_AT_@ -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
Received on Mon Apr 14 2014 - 15:45:18 CEST

This archive was generated by hypermail 2.3.0 : Mon Apr 14 2014 - 15:48:30 CEST