2013-08-06 07:16:27 -04:00
|
|
|
# ubase version
|
|
|
|
VERSION = 0.0
|
|
|
|
|
|
|
|
# paths
|
|
|
|
PREFIX = /usr/local
|
|
|
|
MANPREFIX = $(PREFIX)/share/man
|
|
|
|
|
|
|
|
# OS to build against
|
|
|
|
OS = linux
|
|
|
|
#OS = openbsd
|
|
|
|
|
|
|
|
#CC = gcc
|
|
|
|
#CC = musl-gcc
|
|
|
|
LD = $(CC)
|
|
|
|
CPPFLAGS = -D_BSD_SOURCE -D_GNU_SOURCE
|
2013-08-06 15:34:07 -04:00
|
|
|
CFLAGS = -g -ansi -Wall -Wno-long-long $(CPPFLAGS)
|
2013-08-06 07:16:27 -04:00
|
|
|
LDFLAGS = -g
|
|
|
|
|
|
|
|
#CC = tcc
|
|
|
|
#LD = $(CC)
|
|
|
|
#CPPFLAGS = -D_POSIX_C_SOURCE=200112L
|
|
|
|
#CFLAGS = -Os -Wall $(CPPFLAGS)
|
|
|
|
#LDFLAGS =
|