mirror of
git://git.suckless.org/sbase
synced 2024-12-29 02:22:27 +00:00
07dd658f0d
Note, the code is largely c89 clean. This is to avoid certain warnings on some systems (OSX).
20 lines
353 B
Makefile
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 =
|