1
0
mirror of git://git.suckless.org/sbase synced 2024-12-30 19:22:07 +00:00
sbase/config.mk
sin 07dd658f0d Use -std=c99 by default
Note, the code is largely c89 clean.  This is to avoid certain
warnings on some systems (OSX).
2014-05-31 17:56:34 +01:00

20 lines
353 B
Makefile

# sbase version
VERSION = 0.0
# paths
PREFIX = /usr/local
MANPREFIX = $(PREFIX)/share/man
#CC = gcc
#CC = musl-gcc
LD = $(CC)
CPPFLAGS = -D_BSD_SOURCE -D_GNU_SOURCE
CFLAGS = -g -std=c99 -Wall -pedantic $(CPPFLAGS)
LDFLAGS = -g
#CC = tcc
#LD = $(CC)
#CPPFLAGS = -D_POSIX_C_SOURCE=200112L
#CFLAGS = -Os -Wall $(CPPFLAGS) -D_GNU_SOURCE
#LDFLAGS =