Simplify config.mk and update README for tcc

This commit is contained in:
sin 2014-04-14 14:44:58 +01:00
parent 6e3023fc27
commit 1e78b0aa16
2 changed files with 5 additions and 9 deletions

2
README
View File

@ -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/

View File

@ -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