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)
|
2011-05-24 18:22:28 +00:00
|
|
|
CPPFLAGS = -D_POSIX_C_SOURCE=200112L
|
|
|
|
CFLAGS = -Os -ansi -Wall -pedantic $(CPPFLAGS)
|
2011-06-01 20:31:22 +00:00
|
|
|
LDFLAGS = -static #-s
|
2011-05-29 20:30:44 +00:00
|
|
|
|
|
|
|
#CC = tcc
|
|
|
|
#LD = $(CC)
|
|
|
|
#CPPFLAGS = -D_POSIX_C_SOURCE=200112L
|
|
|
|
#CFLAGS = -Os -Wall $(CPPFLAGS)
|
|
|
|
#LDFLAGS =
|