2011-05-23 01:36:34 +00:00
|
|
|
# sbase version
|
|
|
|
VERSION = 0.0
|
|
|
|
|
2011-06-08 10:37:00 +00:00
|
|
|
# paths
|
|
|
|
PREFIX = /usr/local
|
2011-06-08 16:54:55 +00:00
|
|
|
MANPREFIX = $(PREFIX)/share/man
|
2011-06-08 10:37:00 +00:00
|
|
|
|
2011-05-29 20:30:44 +00:00
|
|
|
#CC = gcc
|
2011-06-08 10:37:00 +00:00
|
|
|
#CC = musl-gcc
|
2011-05-29 20:30:44 +00:00
|
|
|
LD = $(CC)
|
2013-03-05 20:46:48 +00:00
|
|
|
CPPFLAGS = -D_BSD_SOURCE -D_GNU_SOURCE
|
2014-05-31 16:55:25 +00:00
|
|
|
CFLAGS = -g -std=c99 -Wall -pedantic $(CPPFLAGS)
|
2012-05-14 20:28:41 +00:00
|
|
|
LDFLAGS = -g
|
2011-05-29 20:30:44 +00:00
|
|
|
|
|
|
|
#CC = tcc
|
|
|
|
#LD = $(CC)
|
|
|
|
#CPPFLAGS = -D_POSIX_C_SOURCE=200112L
|
2014-04-29 21:30:44 +00:00
|
|
|
#CFLAGS = -Os -Wall $(CPPFLAGS) -D_GNU_SOURCE
|
2011-05-29 20:30:44 +00:00
|
|
|
#LDFLAGS =
|