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
|
|
|
|
2014-11-11 18:15:37 +00:00
|
|
|
#CC = gcc
|
|
|
|
#CC = musl-gcc
|
|
|
|
LD = $(CC)
|
2014-11-13 21:42:09 +00:00
|
|
|
CPPFLAGS = -D_DEFAULT_SOURCE -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
|
2014-11-11 18:15:37 +00:00
|
|
|
#LD = $(CC)
|
2011-05-29 20:30:44 +00:00
|
|
|
#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 =
|