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
|
2013-12-21 12:07:16 +00:00
|
|
|
CFLAGS = -g -ansi -Wall -Wno-long-long -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
|
|
|
|
#CFLAGS = -Os -Wall $(CPPFLAGS)
|
|
|
|
#LDFLAGS =
|