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