shithub: scc

ref: a1e3abc209473dd524ec163eca35edfa7ac65b3a
dir: /config.mk/

View raw version
# scc version
VERSION = 0.1

## Customize below to fit your system
DRIVER = posix

# Can be c89 or c99
STD = c99

# paths
PREFIX    = $(PWD)/$(PROJECTDIR)/rootdir
MANPREFIX = $(PREFIX)/share/man

# scc expects to be built by a C99 compiler
# if your system is not at least POSIX 2004 compatible, adjust CC
# CC = c99
# AR = ar
AS = as

### Systems
# Plan9
#SYSCFLAGS = -D_SUSV2_SOURCE
#SYSLDCFLAGS =
#STDCFLAGS =
###
# BSD
#SYSCFLAGS =
#SYSLDCFLAGS =
#STDCFLAGS = -D_ISOC99_SOURCE -D_ANSI_SOURCE
###